Tramadol is an opioid painkiller that works by binding to opioid receptors in the brain and spinal cord. It has been found to be useful for treating moderate to severe pain.