Nitrous oxide (dinitrogen oxide), N2O, is formed when ammonium nitrate, NH4NO3, is heated.
Copied from HERE
At room temperature, N2O is quite unreactive with most substances, including alkali metals, halogens, and even ozone. It is therefore widely used as a propellant in aerosol cans in place of the CFCs which can damage the ozone layer. When heated sufficiently, however, N2O decomposes exothermically to N2 and O2.
If this reaction occurs in the combustion chamber of an automobile, 3 moles of gas would be produced from 2 moles, providing an extra boost to the piston, as well as liberating more heat. It also has a number of other benefits. The increased oxygen provides more efficient combustion of fuel, the nitrogen buffers the increased cylinder pressure controlling the combustion, and the latent heat of vaporisation of the N2O reduces the intake temperature. Therefore N2O is occasionally injected into the fuel lines of racing cars to give more power to the engine and to give the car exceptional acceleration.