Liquid (molten) rock material solidify as magma (within the earth)or as lava (on the surface of the earth) to form igneous rock. the expose of rock to weathering and erosion at the earth surface breaks the down into small grains producing soil.
The grain (soil) are transported by wind , water and gravity and eventually deposited as sea.…