Morphine is a powerful analgesic used primarily in the treatment of severe pain. Derived from the opium poppy, Papaver somniferum, it belongs to a class of drugs known as opioids. Opioids are substances that act on opioid receptors in the brain to produce morphine-like effects, primarily pain relief.