is ammonia a pure substance
Yes, in chemistry a pure substance means either an element or a compound. Thus, hydrogen, oxygen, sodium, iron, copper etc. are pure substances; and so are compounds such as water, sugar, ammonia, sodium chloride, methane, ethanol etc. A compound is composed of two or more elements combined in a fixed ratio by mass. Like an element, a compound also has a distinct chemical identity. A mixture is not a pure substance as it is a collection of two or more elements/compounds in varying ratio. Air, sea water, gasoline, vegetable oils, steel etc. are mixtures.