Tramadol is classified as pain relief medication and is similar to narcotics. It is mainly prescribed by healthcare experts for the relief of moderate and severe pain in patients. Tramadol is an extended-release type of medication that is taken as prescribed rather than on as-needed basis. It is sometimes used to relieve pain after surgical operations and chronic or ongoing pain. Tramadol works by binding receptors in the brain that usually transmit pain.