There are many mechanisms leading to the formation of cavities and voids underground. Some caves are classified as “primary” because they are generated at the same time as the rocks containing them, others instead form subsequently, due to rock weathering that modify their original characteristics.