Opioids are a class of drugs naturally found in the opium poppy plant. Some prescription opioids are made from the plant directly, and others are made by scientists in labs using the same chemical structure. Opioids are often used as medicines because they contain chemicals that relax the body and can relieve pain. Prescription opioids are used mostly to treat moderate to severe pain, though some opioids can be used to treat coughing and diarrhea. Opioids can also make people feel very relaxed and "high" - which is why they are sometimes used for non-medical reasons. This can be dangerous because opioids can be highly addictive, and overdoses and death are common.