What role does Vitamin D play in boosting immunity?

What role does Vitamin D play in boosting immunity?