Metals generally react with acids to produce hydrogen gas and a salt. The general equation for this reaction is:
Metal + Acid → Salt + Hydrogen
For example, when zinc reacts with hydrochloric acid, the reaction produces zinc chloride and hydrogen gas:
Zn + 2HCl → ZnCl2 + H2