A compromised immune system, also known as immunosuppression, occurs when the body's ability to fight infections and diseases is diminished. This can be a result of the cancer itself or as a side effect of cancer treatments like chemotherapy and radiation therapy.