Preparation of nitrogen from ammonium nitrate
Ammonium nitrate solution decomposes on warming to produce nitrogen. Normally this unstable compound is not stored in laboratory but can be prepared when needed.
The double decomposition reaction between the salt yields ammonium nitrate.
i) Preparation of nitrogen by the action of heat on ammonium nitrite
The reaction between sodium nitrite and ammonium chloride gives sodium chloride and ammonium nitrite.
A solution of ammonium nitrite readily decomposes, on slight warming, to give nitrogen gas.
As the solution becomes warm, rapid effervescence occurs as more nitrogen is given off.
The nitrogen evolved may be collected over water because the gas is only slightly soluble in water, at ordinary temperature, and slightly denser than air.