Modafinil, sold under the brand name Provigil, is a medication used to treat excessive sleepiness caused by conditions like narcolepsy, sleep apnea, and shift work disorder. It works by stimulating the central nervous system to promote wakefulness and alertness.