Na + H2O → Na2O + H2
In this reaction, what can you say about water?
Water is acting as an acid and it is being reduced.
Since sodium displaces hydrogen, water is acting like an acid. Since, hydrogen is being removed from water, it is being reduced.