Ultraviolet light from sunlight is responsible for the production of Vitamin D in the human body.
Many anthropologists theorize that this fact accounts for the differences in skin color between different races of people.
The theory suggests that as early humans migrated north from Africa into areas with decreased amounts of sunlight, skin tones lightened to increase Vitamin D absorption.