Calcium carbonate (limestone) is heated to produce calcium oxide (lime) and carbon dioxide in an irreversible chemical reaction. Lime is used to treat acidic soil by neutralizing its acidity and making nutrients available to plants. It is also used to neutralize industrial waste products by reacting with acids to produce salts and water.