An antifungal drug is medication used to treat yeast and fungal infections such as athlete's foot, ringworm and candidiasis (thrush), as well as serious systemic infections like cryptococcal meningitis.