Nitrogen is produced in the laboratory by heating ammonium chloride (NH4Cl) with sodium nitrite (NaNO2), producing NaCl, N2, and H2O. This is a standard nitrogen preparation method. Option B has a typo (nitrarte), and options C and D don't produce nitrogen gas.