Flavonoids or bioflavonoids are secondary metabolites seen in plants. They are major plant pigments. In flowers, they produce bright pigment that helps to attract pollinators. They are also involved in nitrogen fixation and UV filtration. Anthocyanidins and anthoxanthins are some naturally occurring flavonoid compounds.