Caves or caverns are natural voids under the Earth's surface. Caves often form by the weathering of rock and often extend deep underground. Exogene caves are smaller openings that extend a relatively short distance underground (such as rock shelters). Caves which extend further underground than the opening is wide are called endogene caves.