S in SO2 is reduced and S in H2S is oxidized.
Reduction is a gain of electrons. (more negative)
Oxidation is a loss of electrons (becoming more positive)
Since oxygen has combined with carbon is the one that is oxidized and ZnO is the oxidizing agent. Similarly carbon has taken the oxygen of ZnO, carbon id the reducing agent and ZnO is the one that has been reduced.
Reducing agent - C
Oxidizing agent - ZnO
Oxidized - C
Reduced - ZnO