Good news if you’ve been taking more socially distanced walks outside in the sun: Vitamin D is produced in your body when the sun’s UVB rays hit your skin,according to Harvard Health Publishing. The vitamin is then processed by your liver, followed by your kidneys, so that it’s actively ready for your body to use.