A chloroplast has a double membrane: the inner membrane encloses a compartment containing the fluid stroma as well as ribosomes and DNA. A third membrane called thylakoids contains the photosynthetic pigment chlorophyll and is stacked to form structures called grana (singular, granum).