What is griseofulvin and why is it used?

Antifungal. Griseofulvin is an antifungal medication. Griseofulvin is used to treat skin infections such as jock itch, athlete's foot, and ringworm; and fungal infections of the scalp, fingernails, and toenails.