Dear student
Aluminium is a reactive metal and reacts with sodium hydroxide
Al + 3NaOH Al(OH)3 + Na
Here the oxidation state of Al gets converted from 0 to +3, so it is oxidised
Here the oxidation state of Na gets reduced from 1 to 0, so it gets reduced.
Regards