a) Mg is oxidized and O2 is reduced
b) Zn is oxidized while Pb(NO3)2 is reduced.
Oxidation is defined as:
Reduction is defined as:
Looking at the first reaction, the Mg atom gains oxygen to become MgO. This means that Mg is oxidized. The oxidizing agent is O2. At the same time, O2 is being reduced and the reducing agent is Mg.
For the second reaction, the oxidation number of Pb is reduced from +2 to 0. Thus, Pb has been reduced by Zn while Zn itself has been oxidized. The reducing agent here is Zn while the oxidizing agent is Pb(NO3)2.
More on oxidation and reduction can be found here: https://brainly.com/question/13699873
#SPJ1