Fentanyl is a synthetic opioid, more potent than morphine, and is used in cases of extreme chronic pain, particularly in patients who have developed a tolerance to other pain medications. It is typically used in controlled hospital settings or for end-of-life care due to its high potency and addiction risk.