Dilaudid (hydromorphone) is a prescription opioid medication used to manage severe pain when other pain-relief treatments may not provide adequate relief. It works by acting on specific opioid receptors in the brain and central nervous system, helping reduce pain signals and improve comfort under appropriate medical supervision.