The first part of the name comes from the metal, or the metal in the oxide, hydroxide or carbonate. The second part of the name comes from the acid used: Sulfuric acid produces salts called sulfates. Hydrochloric acid produces salts called chlorides.