In photosynthetic tissues (such as leaves and sometimes stems), anthocyanins have been shown to act as a "sunscreen". They protect cells from high-light damage by absorbing blue-green and ultraviolet light. Ionizing radiation can damage DNA.