D3 is made in the skin from cholesterol, and changed into a more active form by the liver. However, the skin will not make it unless enough ultraviolet light shines on it. As sunlight contains ultraviolet light, getting enough sun is one way of getting enough D3.