Opioid drugs like morphine produce their pharmacological effects like analgesia by acting on neuronal cell membrane receptors. Morphine was first isolated in 1804 and is used to treat dull constant pain. It causes side effects like euphoria, nausea, constipation and respiratory depression due to binding to mu, kappa and delta opioid receptors in the brain and spinal cord. Several morphine analogs were developed as drugs, including codeine, heroin, methadone, levorphanol, fentanyl, dipipanone, sufentanil and tapentadol, by modifying functional groups on morphine. These analogs have varying degrees of potency and side effect profiles compared to morphine.