Morphine is a potent opioid analgesic used primarily to manage severe pain. It works by binding to opioid receptors in the brain and spinal cord, thereby altering the perception and response to pain. Morphine is often administered in various forms, including oral tablets, injections, and intravenous drips.