The correct option is A X=H2O, Y=CO2 and Z=CaSO4
CaCO3 is basic compound. It react with dilute acid and gives salts and liberate carbon dioxide.
CaCO3 on reacting with dilute HCl it gives CaCl2, H2O and liberates CO2.
CaCO3+2HCl→CaCl2+H2O+CO2
CaCO3 on reacting with dilute H2SO4 it gives CaSO4, H2O and liberates CO2.
CaCO3+H2SO4→CaSO4+H2O+CO2
Thus,
X=H2O, Y=CO2 and Z=CaSO4