Not many know that the sun directly does not give you Vitamin D. When your skin is exposed to sunlight, specifically UVB rays, it makes vitamin D naturally. For this, the skin uses a cholesterol-related substance and turns it into vitamin D3, which then becomes active in your body after processing in the liver and kidneys. This natural process is the main way humans have gotten vitamin D for thousands of years.