2HCl ( aq)+Mg(s)→H2 (g)+MgCl2 (aq)
In this equation, hydrochloric acid is reacting with magnesium to form hydrogen gas and magnesium chloride. The reason this is formed is because magnesium is higher up in the reactivity series than hydrogen, causing the chloride to "transfer" from hydrogen to...