Vitamin D is actually produced into a hormone in our bodies and regulates hundreds of processes in the body, and is WAY MORE important to almost every single aspect of your health than most people realize.
There is even evidence that due to the regulation of so many hormonal processes in our bodies that can be affected by Vitamin D, producing enough Vitamin D in your body can even help with fat loss, muscle building, blood sugar control, and hundreds of other factors.
http://pcosdiva.com/2012/11/vitamin-d-a-pcos-deficiency/