Final answer:
The function of melanin is to protect against UV radiation and determine our skin color.
Step-by-step explanation:
Melanin is a pigment found in the skin, hair, and eyes. Its main function is to protect against ultraviolet (UV) radiation from the sun. It absorbs UV rays and prevents them from damaging the DNA in skin cells, thus reducing the risk of skin cancer. Melanin also determines the color of our skin, hair, and eyes. The amount of melanin produced by cells called melanocytes determines whether a person has light or dark skin, hair, and eyes.
In summary, the function of melanin is to protect against UV radiation and determine our skin color.
Learn more about function of melanin