This is rock cycle of igneous and sedimentary and metamorphic rock.
Sedimentary rock- sedimentary rocks are formed from particles of sand, shells, pebbles, and other fragment materials. All rocks that form with these particles are called sedimentary rock.
Metamorphic rock- Metamorphic rocks are formed under the surface of the earth from the metamorphosis that occurs due to intense heat and pressure. The rocks that result from this process often have ribbonlike layers and may have shiny crystals, formed by minerals growing slowly over time on the surface.
Igneous rock- Igneous rock is formed when magma cools and hardens. Sometimes the magma cools inside the earth and over time it erupts onto the surface from volcanoes. When lava cools very quickly no crystals form and the rock looks shiny and glasslike. Sometimes gas bubbles are trapped in the rock during the cooling process leaving tiny holes and spaces in the rock.
This is the rock cycle again. Rocks are not all the same there are three main types of rock and they are the ones I just told u about. This is what make rocks different and how they form also makes them different.