A calcium compound which is a yellowish white powder is used as a disinfectant and also in textile industry

A calcium compound which is a yellowish white powder is used as a disinfectant and also in textile industry.
(i) Name the compound.
(ii) Which gas is released, when this compound is left exposed to air?

(i) Bleaching powder or calcium oxychloride (CaOCl2).
(ii) When exposed to air with CO2 present in air, it releases Cl2 gas according to the following reaction