As heroin and tramadol both belong to the same family of drugs, you might be forgiven for thinking they are the same thing, but they are not. While both stimulate the same areas of the brain, heroin is a much stronger substance than tramadol. Tramadol is a prescription drug designed for the treatment of moderate to severe pain and is available via a medical professional. Heroin is a street drug that has no accepted medical benefits.