The gas formed on heating calcium oxide is carbon dioxide, which, when passed through freshly prepared lime water generates insoluble calcium carbonate and water in this reaction. The calcium carbonate turns the lime water milky.
Ca (CH)2+ CO2➡CaCO3+H2O