Special cells in the skin, called melanocytes, make two different types of melanin, eumelanin and pheomelanin. ... Melanin helps protect our skin and hair by filtering out potentially harmful ultraviolet (UV) radiation from the sun. The UV light from thesun can damage DNA and cause cancer