Sunlight also helps our skin make vitamin D, which is needed for normal bone function and health. Yet sunlight can also cause damage. Sunlight travels to Earth as a mixture of both visible and invisible rays, or waves. Long waves, like radio waves, are harmless to people.