Iron reacts with hydrochloric acid to form ferrous chloride and hydrogen gas.