Infections occur when harmful microorganisms, such as bacteria, viruses, fungi, or parasites, invade the body, multiply, and cause disease or damage. The body's immune response is crucial in fighting infections, but the effectiveness of this response can vary based on the pathogen and the individual's health status.