Modafinil is a wakefulness-promoting agent used primarily to treat sleep disorders such as narcolepsy, sleep apnea, and shift work sleep disorder. Beyond its medical uses, modafinil is increasingly recognized for its potential as a cognitive enhancer, often utilized by individuals seeking to improve focus, memory, and overall cognitive performance.