Ritalin is a medication commonly prescribed to treat Attention Deficit Hyperactivity Disorder (ADHD), a neurodevelopmental disorder that affects both children and adults. The generic name for Ritalin is methylphenidate, and it belongs to a class of medications known as central nervous system stimulants.