In the reaction above, magnesium is a reducing agent because
Answer Details
A reducing agent is a substance that causes another substance to be reduced by donating electrons to it. In the process of donating electrons, the reducing agent itself is oxidized (its oxidation state increases).
Magnesium changes from an oxidation state of 0 (as the free element) to +2 (in MgCl2). It loses two electrons:
\[\text{Mg} \rightarrow \text{Mg}^{2+} + 2e^-\]
These electrons are gained by hydrogen ions (H+), which are reduced from +1 to 0 (as H2 gas). Magnesium is the reducing agent because it supplies the electrons that reduce the hydrogen ions.
The defining characteristic of a reducing agent is that it is oxidized. Being a metal or being a solid are physical properties that do not explain why magnesium acts as a reducing agent in this reaction.