Other research also suggests that moderate exposure to the sun can help ward off depression, combat certain skin diseases and even increase the chances of surviving a heart attack. "For people in Britain, the main source of vitamin D is still sunlight, and you need a certain amount of it to provide for normal body function," says Dr Tim Key from Cancer Research UK. "Some sunlight is essential, so you don't want to stay indoors all the time in order to avoid skin cancer."