Final answer:
Melanin provides protection against the sun's UV rays.
Step-by-step explanation:
Melanin is a pigment that gives color to our hair, skin, and eyes. Its primary function is to provide protection against the sun's UV rays. Melanin absorbs the UV radiation and prevents it from damaging our DNA. This protection helps reduce the risk of skin cancer and sunburn.
Learn more about Function of Melanin