Griseofulvin is an antifungal medication primarily used to treat fungal infections of the skin, hair, and nails, such as ringworm and athlete’s foot. It works by binding to tubulin, inhibiting microtubule function and disrupting fungal cell division, preventing the fungus from multiplying.