Pillow lava is a type of volcanic rock formation that occurs when lava erupts underwater, rapidly cooling and forming rounded, pillow-like shapes. These formations are significant in understanding seafloor spreading and the geological processes at mid-ocean ridges.