<prompt> Answer this question truthfullyWhat medical condition is modafinil commonly used to treat, and what type of drug is it?  <response>: <reason> Modafinil is a stimulant drug commonly used to treat narcolepsy, a sleep disorder characterized by excessive daytime sleepiness and sudden attacks of sleep. 