Vit-C is a potent antioxidant and acts as a cofactor in many biosynthetic pathways. It contributes to immune defense system by supporting various cellular processes and functions. For details, one can go through a paper by A C Carr et al., 2017 (doi: 10.3390/nu9111211). Vit-D supplementation studies have shown it's beneficial effects on human immune system. For details, please go through a paper by Barbara Prietl et Al., 2013 (doi: 10.3390/nu5072502).