The geological process which led to the creation of rocks is erosion, weathering, dissolution, precipitation, and lithification. Weathering and erosion include the consequences of wind and rain, that slowly break down larger rocks into the smaller ones.
Final Answer:
When the molten lava comes on the Earth’s surface, it rapidly cools down and becomes solid, rocks formed this way on the crust are extrusive igneous rocks.
Sometimes the molten magma cools down deep inside the Earth’s crust, solid rocks so formed are the intrusive igneous rocks.