The immune system is a complex network of interconnected biological and physiological processes that protect…