Tramadol is a prescription pain-relief medication used to manage moderate to moderately severe pain. It works by altering the way the brain perceives pain. It’s prescribed by doctors for short-term or chronic pain conditions, always under medical supervision.