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