A quarry is a place where rocks, sand, or minerals are extracted from the surface of Earth. A quarry is a type of mine called an open-pit mine, because it is open to Earth's surface. Another type of mine, a subsurface mine, consists of underground tunnels or shafts. The most common purpose of quarries is to extract stone for building materials.