An element A burns with golden flame in air. It reacts with another element B, atomic number 17 to give a product C. An aqueous solution of product C on electrolysis gives a compound D and liberates hydrogen. Identify A, B, C and D. Also, write down the equations for the reactions involved.
A is sodium. B is chlorine (atomic number 17). C is sodium chloride and D is sodium hydroxide.
2 Na + Cl2 → NaCl
Electrolysis of sodium chloride can be given by following equation:
2NaCl +2 H2O → 2NaOH + Cl2 + H2