C21H27NO is the chemical structure of methadone. Its a synthetic opiate, which where originally developed to cure severe pain, and its a morphine like drug. Its used to detox drug addicts, and are also given to cancer patients, as a pain relief.