In chemistry, a salt is any neutral chemical compound made of cations (positive ions) attached to anions (negative ions). The main kind of salt is sodium chloride with the chemical formula NaCl. It is formed when hydrochloric acid is added in sodium hydroxide. The reaction is as follows