
Modafinil, a medication that is used to treat narcolepsy (an abnormal sleeping disorder), was originally created. Modafinil is sometimes used off-label to improve cognitive function, such as in situations where focus and alertness are needed to assist with test preparation. …