Igneous rocks are rocks that are created when molten rock or hot lava cools and solidifies.
Sedimentary rocks are the kinds of rocks that develop as a result of the compression and cementation of sediment, which is composed of tiny fragments of rock, minerals, and organic elements.
Metamorphic rock are rocks that are formed by the transformation of pre-existing rocks as a result of intense heat, pressure, and/or chemical changes.