Sodium hydroxide is also produced by combining pure sodium metal with water. The byproducts are hydrogen gas and heat, often resulting in a flame, making this a common demonstration of the reactivity of alkali metals in academic environments; however, it is not commercially viable, as the isolation of sodium metal is typically performed by reduction or electrolysis of sodium compounds including sodium hydroxide.
which metal reacts with alkali to produce hydrogen
Sodium hydroxide sodium hydroxide