This reaction is a classic example of a single displacement reaction where a more reactive metal displaces hydrogen from the acid.
Here's a simplified representation of the reaction:
Metal + Acid → Salt + Hydrogen gas
For example:
* Zinc + Hydrochloric acid → Zinc chloride + Hydrogen gas
Zn + 2HCl → ZnCl₂ + H₂
Note: Not all metals react with acids. The reactivity of a metal is determined by its position in the reactivity series. Metals above hydrogen in the reactivity series can displace hydrogen from acids.