The immune system serves as protection against infections. Microbes attacking the body get defeated by this complex system of cells…