Ammonium carbonate is the predecessor to the more modern leavening agents baking soda and baking powder. It is also the main component in smelling salts. Additionally, it is used as an emetic and an active ingredient in some cough syrups designed to relieve the symptoms of bronchitis.