A synthetic opioid agonist called methadone is used to treat both opioid dependency and drug addiction in addition to chronic pain. It is explained as a daily medication that relieves cravings and gets rid of withdrawal symptoms. Methadone detoxification can be completed in a month, or it can be done gradually over a period of up to six months. Methadone has comparable adverse effects of other opioids, such as sweating, vomiting, wooziness, and tiredness. The cravings and withdrawal symptoms brought on by reliance on other opioids, such as heroin, are lessened by the synthetic opioid methadone. Opiates are a class of naturally occurring substances derived from opium, such as codeine and morphine. Methadone is not an opiate because it is made in a lab. The withdrawal symptoms and cravings caused by dependency on other opioids, such as heroin, are lessened by the synthetic opioid methadone. The naturally occurring substances known as opiates, such as morphine and codeine, are produced from opium. Methadone isn't an opiate because it's made in a laboratory.