👉 Melanin is a pigment found in plants, especially in the leaves and bark of some species of trees. It plays a crucial role in protecting the plant from the sun's rays and helps to regulate body temperature. Melanin is also responsible for the characteristic brown or gray color of many fruits and vegetables, such as oranges and berries.