Compound (2) is Methadone, a synthetic opioid that acts as a full agonist on u-opioid receptors.It is widely used as a maintenance treatment for heroin and opioid dependence because of its long half-life and stable pharmacological profile.Benefits: One of the main advantages of methadone is its long duration of action, which allows it to be given once daily.This helps maintain steady drug levels in the blood and prevents the appearance of withdrawal symptoms and cravings throughout the day.