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