Macamakagin extracted from opium is prepared by reacting with acetic anhydride.

It is necessary to control the chemical reaction conditions to extract morphine and heroin from opium.

Morphine and heroin are opioid drugs, which are extracted from opium and have analgesic, sedative and hallucinogenic effects. They are also drugs. In the refining process, chemical reagents such as acetic anhydride need to be used to react with alkaloids in opium to obtain corresponding opioid drugs.

Acetic anhydride is an organic compound with strong pungent smell and corrosiveness. In chemical reactions, acetic anhydride reacts with alkaloids in morphine or heroin to produce corresponding opioids. This reaction process needs to be carried out under strictly controlled conditions to ensure product quality and safety.

Besides acetic anhydride, other chemical reagents and equipment are needed, such as sodium hydroxide, ethanol and sulfuric acid. These chemical reagents play different roles in the reaction process, such as catalysis, oxidation, reduction and so on. In the process of reaction, parameters such as temperature, pressure and time need to be strictly controlled to ensure the smooth progress of the reaction and the quality of the product.

In the process of refining, we also need to pay attention to safety issues. Because opium contains a variety of alkaloids and chemical components, it is necessary to take necessary protective measures, such as wearing masks, gloves and goggles. In addition, we must abide by relevant laws, regulations and rules to ensure the safety and legality of the production process.

Besides morphine and heroin, opium also contains many other alkaloids and chemical components, such as cocaine and papaverine. These substances have different contents in opium, but they all have different pharmacological effects and toxicity.

In the refining process, different chemical reactions can be used to separate and purify different opioids. These reactions need not only precise control of conditions, but also strict control of the quality of chemical reagents to ensure the quality and safety of products.

In a word, the extraction of morphine, heroin and other opioid drugs from opium is a complex chemical process, which requires professional chemical knowledge and equipment. At the same time, we need to pay attention to safety issues and abide by relevant laws, regulations and rules. If you want to know more about opium refining and related chemical reactions, I suggest you consult professional chemistry books or consult professionals.