Water that dissolves stone
Rainwater absorbs carbon dioxide from the air and soil, becoming a weak acid. Where the bedrock is limestone, that water seeps into cracks and slowly dissolves the rock, widening fissures into passages and passages into caverns. Given a few million years, the result can be a system of hundreds of kilometres of tunnels.
When the water table falls, the passages drain and air enters. Then the decorating begins: dripping water leaves calcite behind, building stalactites down from the ceiling and stalagmites up from the floor, grain by grain, sometimes over hundreds of thousands of years.
Worlds of their own
Caves hold stable temperatures, total darkness and their own ecology. Species that live their whole lives underground — blind fish, pale crickets, salamanders — have lost eyes and pigment they no longer need, and gained other senses in exchange.
Caves also keep archives. Their mineral layers record ancient climates, and their walls preserve some of the oldest human art. A cave is less a hole in the ground than a slow, dark library.

