Substance oxidized : HCl
Substance reduced : MnO2
Oxidizing agent: : MnO2
Reducing agent : HCl
Here, Mn is in +4 oxidation state in MnO2while it is in +2 Oxidation state in MnCl2 , thus a decrease in oxidation no. shows that MnO2undergo reduction, and so it will work as an oxidizing agent.
Similarly, in HCl, Chlorine is in -1 oxidation state while it becomes 0 in Cl2 , the increase in oxidation no. shows that HCl undergoes oxidation and so it will act as a reducing agent.