Hydromorphone is a potent opioid analgesic used to treat moderate to severe pain. It is derived from morphine and is more effective and faster-acting. Hydromorphone works by binding to opioid receptors in the brain and spinal cord, altering the perception and emotional response to pain. It is available in various forms, including oral tablets, extended-release formulations, and injectable solutions.