Answer:
Pillow basalt is a volcanic igneous rock that forms when lava of basaltic compositionis erupted underwater. The rapid cooling of the lava by cold water on all sides forms the pillow-shaped bodies, which can then break open and extrude more of the hot lava from inside.