In a small patch of skin no bigger than an inch, there are millions of cells all performing various duties, like protecting us from bacteria and sensing temperature. A portion of them are melanocytes, a type of cell dedicated to producing melanin, the substance that gives our skin, eyes, and hair color. If triggered by UV light from the sun, melanocytes can form moles, or beauty marks.