Quarries allow you to mine more stone, once all loose rock on the surface of the map has been mined out. The quarry will eventually run out of rock. You can remove the quarry building, but the hole is permanent. By default, the quarry facilitate 15 citizens. Citizens working in the quarry risk death due to being crushed by a rock.