Vitamin D is necessary for the proper functioning of your immune system — which is your body's first line of defense against infection and disease.figure out