Tramadol is a pain medication that is used to treat moderate to severe pain. It is an opioid analgesic, which…