Igneous rocks form from magma or lava cooling, sedimentary rocks from cemented pieces, and metamorphic rocks from altered pre-existing rocks.
Igneous rocks form from magma or lava cooling and solidifying. Magma that cools underground creates rocks like granite, while lava cooling rapidly at the surface forms rocks like basalt.
Sedimentary rocks result from weathered rock pieces getting cemented together or minerals precipitating out of a solution and solidifying.
Metamorphic rocks are formed when heat and pressure alter pre-existing rocks, leading to new minerals and textures.
https://brainly.com/question/44047619