Calcitriol modulates the immune system by influencing the differentiation and activity of various immune cells. Histologically, it enhances the antimicrobial activity of macrophages and the differentiation of T-cells. This modulation is crucial for maintaining a balanced immune response and preventing chronic inflammation.