Opioids are typically prescribed to people to help them with pain like someone who recently had surgery and is in pain. While stimulants are meant to speed up the activity in the brain it enhances alertness and concentration and also gives the body energy it is often used to treat (ADHD) narcolepsy and depression.