Methadone is a synthetic opioid used primarily for helping patients overcome their heroin and morphine addictions. The medication in liquid form is prescribed as part of an opioid dependency maintenance program for managing the withdrawal symptoms caused by heroin and morphine.