A prescription drug called tramadol is used to relieve moderate to severe pain. It is a synthetic opioid that modifies the way the nerve system and brain react to pain. Additionally, Tramadol raises serotonin and norepinephrine levels, which intensifies its analgesic effects. Depending on the degree and length of the pain being treated, it comes in both immediate-release and extended-release formulations.