Gabbro refers to a large group of dark, coarse-grained, intrusive mafic igneous rocks chemically equivalent to basalt. The rocks are plutonic, formed when molten magma is trapped beneath the Earth's surface and cools into a crystalline mass. The vast majority of the Earth's surface is underlain by gabbro within the oceanic crust, produced by basalt magmatism at mid-ocean ridges.