For the first time, the different forms of vitamin D the body absorbs from diet and sunlight, known as vitamin D2 and vitamin D3 respectively, can be individually distinguished from closely related compounds.