Cancer patients often have compromised immune systems due to the disease itself or as a side effect of treatments like chemotherapy and radiotherapy. This makes them particularly vulnerable to infections. Vancomycin is crucial for treating severe bacterial infections in these immunocompromised patients.