Dilaudid, also known by its generic name hydromorphone, is a potent opioid analgesic used to manage severe pain. It is derived from morphine and works by binding to opioid receptors in the brain and spinal cord, altering the perception and response to pain. Dilaudid is available in several forms, including tablets, oral solutions, and injectable solutions, allowing for flexibility in administration based on patient needs and medical settings.