your answer would be melanin.
Explanation: Melanin protects skin from the sun's ultraviolet rays. These can burn the skin and reduce its elasticity, leading to premature aging. People tan because sunlight causes the skin to produce more melanin and darken.