Opioids, also known as opiates, are a class of drugs used for managing pain that include prescription medications like codeine, morphine, and hydrocodone. The illegal drug heroin is also an opioid. These drugs interact with opioid receptors in your nervous system to relieve pain.

While opioid pain relievers are a beneficial treatment option in some cases, they do come with risks.