A compromised immune system, also known as immunodeficiency, occurs when the body's defense mechanisms are weakened or impaired. This makes individuals more susceptible to infections, diseases, and other health complications. Immunodeficiency can be either congenital (present at birth) or acquired (develops later in life).