A drug that is used to treat infections caused by fungi. It belongs to the family of drugs called antifungals.