Polyphenols are a class of organic chemicals characterized by multiple phenol structural units. Anthocyanins are water-soluble pigments that appear red, purple, blue or black depending on pH. They are common in many fruits and vegetables and contribute to the colors of autumn leaves. Anthocyanins are derived from anthocyanidins by adding sugars. The chemical structure of anthocyanins contains two benzene rings and a heterocyclic ring, with variations in hydroxyl and methyl groups determining the specific anthocyanidin. Plants rich in anthocyanins include berries, red cabbage, and violet petals. Anthocyanins may protect plants from extreme temperatures and herbivore attacks.