Answer:
igneous rock
Explanation:
Igneous rocks are rocks that form when magma or lava cools and hardens. Igneous rock that forms above the Earth's surface is extrusive. Igneous rock that forms below the Earth's surface is intrusive.
When magma erupts as lava onto the ocean floor at a divergent boundary, the lava cools quickly to form extrusive igneous rock. Over time, these hardened lava flows build up on top of each other and are uplifted by tectonic forces to form mid-ocean ridges.