Mention the oxidizing agent and the reducing agent and give a reason in support of your answer.
Redox reaction
A chemical reaction in which loss and gain of electrons take place simultaneously is called a redox reaction
Oxidising agent
In the redox reaction, the atom or the ion that gains electrons is called an oxidizing agent.
Reducing agent
In the redox reaction, the atom or the ion that loses an electron is called the reducing agent.
In this reaction, Mg loses two electrons and becomes Mg2+. Magnesium gets oxidised and acts as a reducing agent. Hydrogen gains two electrons and acts as an oxidising agent.
Mg - Reducing agent
HCl - Oxidizing agent