Ritalin, known generically as methylphenidate, is a prescription medication used primarily to treat attention deficit hyperactivity disorder (ADHD) and narcolepsy. It belongs to the class of central nervous system (CNS) stimulants. Ritalin works by increasing the levels of certain neurotransmitters, specifically dopamine and norepinephrine, in the brain. These neurotransmitters play a key role in attention, focus, and impulse control. By enhancing their activity, Ritalin helps improve concentration, reduce impulsive behavior, and manage symptoms of ADHD.