The correct option is D Anthocyanin
Anthocyanin is the pigment which belongs to the class of flavonoids. It is found in the leaves, stems, roots, flowers and fruits. It is responsible for the colouration in fruits, vegetables, flowers and grains. The main pigment that is responsible for photosynthesis is the green pigment chlorophyll. Some other pigments which are photosynthetic in nature are xanthophylls, carotene and phycobilins. Xanthophyll and carotene are always present in the leaves, they absorb the sunlight and transfer it to the chlorophyll for the process of photosynthesis. Phycobilins are also present as photosynthetic pigments in some algae. So, the correct option is D.