Morphine is an opioid used to manage the pain of moderate to severe intensity. It is commonly prescribed in patients with pain due to cancer, surgery, arthritis, or abdominal pathologies. People receiving palliative care (end-of-life care) are also given morphine to make them comfortable in their final days.