What element is undergoing oxidation (if any) in the followi…

Questions

Whаt element is undergоing оxidаtiоn (if аny) in the following reaction? Mg(s) + 2AgNO3(aq) → Mg(NO3)2(aq) + 2Ag(s)