* Dissolution: In areas with limestone bedrock, slightly acidic rainwater can dissolve the rock over long periods. This process, called karst topography, creates underground cavities that can eventually become caves.
* Abrasion: Water carrying sand and other sediment can also wear away rock, widening and deepening existing caves.
* Wave action: In coastal areas, waves can erode cliffs and create sea caves.
While water is the most common agent, other factors can contribute:
* Glaciers: Glaciers can carve out large caves in rock formations.
* Wind: Wind erosion can contribute to cave formation in areas with soft rock like sandstone.
It's important to note that cave formation is a slow process that takes thousands or even millions of years.