When CaCO3 (limestone) is heated it undergoes thermal decomposition into CaO (quick-lime) and CO2.
the CaO (quick lime) then turns into Ca(OH)2 (limewater) when in the presence of water.
finally, when CO2 is added it returns to CaCO3 (limestone) to complete the calcium cycle