(3) Morphine, Codeine and Heroin are chemically known as Alkaloids. These are a group of naturally occurring chemical compounds that mostly contain basic nitrogen atoms. This group also includes some related compounds with neutral and even weakly acidic properties. Apart from carbon, hydrogen and nitrogen, sulphur and oxygen are also found in alkanoids.