Acids react with metals to produce the respective metal salt along with hydrogen gas. Therefore, when hydrochloric acid (HCl) reacts with metals, it evolves hydrogen gas along with the formation of corresponding metal salt.