Antifungals are medications designed to treat fungal infections. These infections can range from superficial skin conditions to more severe systemic infections. In the context of cancer, antifungals play a crucial role due to the immunocompromised state of many cancer patients.