[{"from": "human", "value": "Please give me some details about this molecule. [C][C][=Branch1][C][=O][O][C@H1][C][=C][C@H1][C@H1][C][C][=C][C@][Ring1][=Branch1][Branch2][Ring1][Branch1][C@H1][Ring1][#Branch2][O][C][Ring1][Branch1][=C][Branch1][Branch1][C][=C][Ring1][=Branch2][O][C][=Branch1][C][=O][C][C][C][N][Ring2][Ring1][C][C]"}, {"from": "gpt", "value": "The molecule is a morphinane alkaloid that is morphine bearing two acetyl substituents on the O-3 and O-6 positions. As with other opioids, heroin is used as both an analgesic and a recreational drug. Frequent and regular administration is associated with tolerance and physical dependence, which may develop into addiction. Its use includes treatment for acute pain, such as in severe physical trauma, myocardial infarction, post-surgical pain, and chronic pain, including end-stage cancer and other terminal illnesses. It has a role as an opioid analgesic, a mu-opioid receptor agonist and a prodrug. It is functionally related to a morphine."}]