Modafinil is a wakefulness-promoting agent primarily used to treat narcolepsy, sleep apnea, and shift work disorder. It enhances alertness and cognitive function by increasing dopamine levels in the brain. Marketed under brand names like Provigil and Modalert, it is popular among students and professionals for its cognitive-enhancing effects.