How does Vitamin D impact the immune system and overall health?

How does Vitamin D impact the immune system and overall health?