Ba(N3)2HeatBa(s)+3N2(g)
Azide salt of barium can be obtained in purest form as well as the decomposition product contain solid Ba as by product along with gaseous nitrogen, hence no additional step of separation is required.
Other reactions are NH4NO3HeatN2O+2H2O 2NH3+3CuOHeat3Cu+3H2O+N2 (NH4)2Cr2O7HeatCr2O3+4H2O+N2