Many of the coloured components of fruits and vegetables perform essential functions within nature.
Without chlorophylls, photosynthesis, upon which the plant kingdom depends, would not take place. Many carotenoids, in particular, the carotenoid ß-carotene, are important vitamin precursors.