Question: why sodium reacts with water?
Answer: Alkali metals in general are extremely reactive metals. They are highly reducing in nature. Hence, they react with water forming their corresponding hydroxides evolving dihydrogen gas. In case of sodium - as cited in your question - its reduction potential is −2.7109 V hence it easily reduces hydrogen.