Opioids are a class of drugs that act on the nerve cells in the body and brain to relieve pain. There are different types of opioids like Buprenorphine, Butorphanol, Codeine, Fentanyl, Oxycodone. Hydrocodone, Hydromorphone, and Hydromorphone are opioids that are not commonly used.