Smelling salts are really Ammonium Carbonate which, as its name would suggest, smells like ammonia. The vapors will irritate the mucous membranes in the nose and lungs which causes the muscles that control breathing to work faster which gives the unconscious person more oxygen.