When a sodium atom transfers an electron to a chlorine atom, forming a sodium cation (Na+) and a chloride anion (Cl-), both ions have complete valence shells, and are energetically more stable. The reaction is extremely exothermic, producing a bright yellow light and a great deal of heat energy.
Acids change the rate Corrosion and increase its temperature.
Answer: The element Na (Sodium) is getting oxidized and Hydrogen is getting reduced.
Explanation:
Oxidation reactions are the reactions in which addition of oxygen takes place.
Reduction reactions are the reactions in which loss of oxygen takes place.
For a given reaction:

Sodium is getting oxidized because there is an addition of reaction with that element.
Hydrogen is getting reduced because there is a removal of oxygen with that element.