Q. Why do people get tan?
A. The ultraviolet portion of sunlight causes some skin cells to make more of a dark pigment called melanin, says Nihal Ahmad, an associate professor of dermatology at the UW School of Medicine and Public Health. Melanin has a protective role, because after formation it blocks some ultraviolet light.