The reaction given above is an OXIDATION REACTION.
Oxidation-reduction reaction is a chemical reaction that involves gaining and losing of electrons by chemical compounds. An element that gains an electron is said to be undergoing reduction while an element that lose an electron is said to be undergoing oxidation.
In the question given above, M is giving out an electron, therefore the reaction represents oxidation,