Sodium hydroxide or caustic soda is a useful industrial chemical and is manufactured by chlor-alkali process. In the process, a gas X is formed as the by-product. It reacts with slaked lime to give a compound Y which finds application as a bleaching agent for the clothes. Name the gas X and the compound Y formed?