The body's defense system protects it from infections and harmful microorganisms. The immune system is capable of causing complex reactions to various viruses, bacteria, and pathogens, but in some cases, a specific trigger can trigger an immune response when it is not justified, as in the case of food allergies.