What are the different types of rocks?
There are three types of rocks: igneous, sedimentary, and metamorphic. Igneous rocks are formed when lava or magma cools and hardens. Sedimentary rocks are formed when sediment is compressed and hardened. Metamorphic rocks are formed when deformed.