A green pigment, present in algae and higher plants, that absorbs light energy and thus plays a vital role in photosynthesis. Except in Cyanophyta, chlorophyll is confined to chloroplasts. There are several types of chlorophyll, but all contain magnesium and iron. Some plants contain additional pigments that masks the green of their chlorophyll.