Because they interact with light to absorb only certain wavelengths, pigments are useful to plants and other autotrophs --organisms which make their own food usingphotosynthesis. In plants, algae, and cyanobacteria, pigments are the means by which the energy of sunlight is captured for photosynthesis.