2HCl(aq)+Mg(s)----->MgCl2(aq)+H2(g)
In an aqueous solution of HCl, there is H+ ions and CL- ions. (Magnified View)
**ignore the OH- ions present in water which hydrochloric acid dissolve into**
When magnesium is dropped inside the hydrochloric acid, the magnesium will react with hydrochloric acid to form aqueous solution of magnesium chlorine and give out hydrogen gas.
Then in the solution, there will be Mg2+ ions and Cl- ions (Magnified View)
**ignore the OH- ions present in water which hydrochloric acid dissolve into**