Ammonium carbonate

Ammonium carbonate is a salt with the chemical formula (NH4)2CO3. Since it readily degrades to gaseous ammonia and carbon dioxide upon heating, it is used as a leavening agent and also as smelling salt. It is also known as baker’s ammonia and was a predecessor to the more modern leavening agents baking soda and baking powder. It is a component of what was formerly known as sal volatile and salt of hartshorn,[1] and produces a pungent smell when baked.
Ammonium carbonate is produced by combining carbon dioxide and aqueous ammonia. About 80,000 tons/year were produced as of 1997.[1]
Ammonium carbonate slowly decomposes at standard temperature and pressure through two pathways. Thus any initially pure sample of ammonium carbonate will soon become a mixture including various byproducts.
Ammonium carbonate can spontaneously decompose into ammonium bicarbonate and ammonia:
Which further decompose to carbon dioxide, water and another molecule of ammonia: