Sodium chloride is used for manufacture of sodium hydroxide which is called chloralkali process. In this process chlorine and hydrogen gas are formed as byproducts along with sodium hydroxide. Chlorine gas gives bleaching power when reacts with lime water and used as bleaching agent in chemical industries.\\\\(2NaCl (aq) + 2H_{2}O(l) \\rightarrow 2NaOH (aq) + Cl_{2} (g) + H_{2}(g)\\\\)\\\\(X \\rightarrow Cl_{2}\\\\) (Chlorine gas)\\\\(Ca(OH)_2 +Cl_2 \\longrightarrow CaOCl_2 + H_2O\\\\)Therefore,The gas \\\\(X\\\\) is chlorine.Compound \\\\(Y\\\\) is calcium oxychloride which is commonly known as bleaching powder and used as bleaching agent in chemical industries.