Smelling salts are the white crystalline solid ammonium carbonate. Smelling salts can be used for the prevention or treatment of fainting. Often, small vials of ammonia wrapped in a paper sachet are used in place of salts.