In geological applications, detecting the presence of calcite or other forms of calcium carbonate in alkaline soils or during lithological analysis involves using dilute hydrochloric acid and observing effervescence.