Antifungal medications, also known as antifungals, are a class of drugs used to treat fungal infections. These infections can range from superficial skin infections to more severe systemic infections. The primary goal of antifungal medications is to target and eliminate fungal cells while causing minimal harm to human cells.