Gabbro and basalt are two igneous rocks having the same chemical composition, and the same minerals (plagioclase feldspar + pyroxene), but are of different origins. Gabbros form at depths and cool slowly, whereas basalts are volcanic rocks that crystallize rapidly at the surface of the earth.