A substance that tends to bring about oxidation by being reduced and gaining electrons is called oxidising agent. Hence MnO2 is a oxidising agent.
Identify the substance oxidized, substance reduced, oxidising agent and reducing agent. MnO2 + 4HCl → MnCl2 + 2H2O + Cl2.