Fungal infections can be superficial or systemic. Antifungal drugs include polyenes, azoles, and allylamines which act by disrupting fungal cell membranes or inhibiting ergosterol biosynthesis, mitosis or DNA synthesis. Amphotericin binds to ergosterol and causes membrane damage. Ketoconazole and fluconazole are oral azoles that inhibit ergosterol synthesis. Systemic antifungals like amphotericin are nephrotoxic while superficial infections are treated with topical azoles and allylamines.