Immune system compromise occurs when the body's defense mechanisms are weakened, making it more susceptible to infections and diseases. This can be due to genetic factors, chronic illnesses, medications, or lifestyle choices that impair immune function.