Chlorophyll is the pigment used during photosynthesis. There are a total of 4 pigments present inside the chloroplast. These are chlorophyll a, chlorophyll b, carotene and xanthophyll. These pigments are present in the grana region of chloroplast. All these pigments can absorb sunlight. But only chlorophyll a directly participates in photosynthesis. That is why chlorophyll b, carotene and xanthophyll are called accessory pigments.