Opioids are a class of drugs that include heroin and legal pain relievers such as oxycodone, codeine, morphine and many others. When properly dosed, many patients who are prescribed opioids for temporary pain or permanent injuries can be helped by opioids.
But opioids are highly addictive, and addiction can easily happen in the course of pain treatment.