The correct option is C They act as indicators.
Anthocyanin pigments are present in many plant parts and are natural indicators. They are red in acidic and blue in basic solutions. They are water-soluble pigments that may appear red, purple, or blue depending on the pH.