Cancer treatments, such as chemotherapy and radiation, can weaken the immune system and disrupt the balance of microorganisms in the body. This can lead to a higher risk of candida overgrowth and infection. Patients undergoing cancer treatment are often monitored for signs of fungal infections and may be prescribed antifungal medications as a preventive measure.