Carotenoids are a class of pigments found in plants and some photosynthetic organisms, responsible for the vibrant red, orange, and yellow colors of many fruits and vegetables. They play a critical role in photosynthesis by capturing light energy and protecting plants from damage caused by excess light and reactive oxygen species.