When a metal react with dilute hydrochloric acid which gas is produced?

Hydrogen gas.