Basalt is extrusive igneous rock. The magma or lava is made of a slush of crystals, liquid, and bubbles. When it breaks through the crust of the earth and erupts on the surface, it cools quickly. If the lava cools in less than a day or two, there is no time for elements to form minerals. Instead, elements are frozen in place within volcanic glass. Often, lava cools over a few days to weeks and minerals have enough time to form but not time to grow into large crystals.
Basalt is a dark colored, fine grained, igneous rock. It's the most abundant rocks.
Basalt has three ways to form depending on how the eruption and where the eruption takes place. One is that the lava erupts under the open air, second is that lava flows to the sea, and third is that lava erupts underwarter. The ocean floor is almost completely made of basalt.