Extrusive igneous rocks, also known as volcanic rocks, are formed at the crust's surface as a result of the partial melting of rocks within the mantle and crust. Extrusive igneous rocks cool and solidify quicker than intrusive igneous rocks. They are formed by the cooling of molten magma
Sedimentary rocks are formed when sediment is deposited out of air, ice, wind, gravity, or water flows carrying the particles in suspension. This sediment is often formed when weathering and erosion break down a rock into loose material in a source area.
A metamorphic rock is a result of a transformation of a pre-existing rock. The original rock is subjected to very high heat and pressure, which cause obvious physical and/or chemical changes. Examples of these rock types include marble, slate, gneiss, schist.