A small to medium-sized cavity inside rock that is often lined with mineral crystals. In petroleum geology, vugs can enhance reservoir quality by providing additional pore space.