Oxidation is the loss of electrons or an increase in oxidation state by a molecule, atom, or ion. Reduction is the gain of electrons or a decrease in oxidation state by a molecule, atom, or ion.
Here, Na atom is loosing one electron and forms cation so its a oxidation process.