Fentanyl is a powerful synthetic opioid analgesic that is similar to morphine but much more potent. It is used medically to treat severe pain, often after surgery or in cases of chronic pain among patients who are tolerant to other opioids. However, fentanyl is also sometimes manufactured and distributed illegally, which has led to a significant number of overdose deaths due to its high potency and the difficulty in accurately dosing it.