When looking at sedimentary rocks in the field, one of the questions which may come up is whether or not a rock is a carbonate, such as in the outcrop pictured above. Although it is easy to determine that with an electron microprobe in the lab, there is a faster field test method: using dilute hydrochloric acid.
Sedimentary geologists will often carry a bottle of 0.1 M HCl and a watchglass with them in the field. A chip of the rock in question can be broken up and placed on the watchglass. When the acid is added, a carbonate will fizz as the acid releases carbon dioxide. This is the same process which makes a baking soda volcano erupt.
In some of my field work in the Texas Panhandle, I encountered a white layer among the redbeds. This bed was not gypsum, as many of the other white beds were. Because I was looking for volcanic ash deposits, not carbonates, an acid test was performed in the field. Unfortunately for me, the ground up sample started fizzing, so I knew it wasn’t the volcanic ash I wanted to find.