Salts of hydrochloric acid are formed when its constituent ions react with other ions or molecules to produce compounds that can be represented by a formula. For example, NaCl is formed when Sodium-ion reacts with Chloride ion to produce Sodium Chloride, which is represented by the formula Na+Cl-. Hydrochloric acid can be used to produce a large number of salts because it reacts with a wide variety of elements. The table below shows some common salt formulas that are produced using hydrochloric acid.