Igneous Rock- first type of rock formed- born intrusive or extrusive (if in lava then it’s extrusive---- if it was in magma then it’s intrusive)
Over time the rock breaks and small pieces fall off and end up getting washed into an area where they are buried. The breaking off is called weathering and the washing away is called eroding. The pieces are called sediment.
After a long period of time the sediment gets buried and due to pressure it begins to form together….The new rock is called Sedimentary.
Sedimentary Rocks sometimes end up on the Earth’s surface and sometimes get buried deep with in the earth. Not quite in the Magma, but close enough for the heat to soften them. Now that they are soft, the pressure from above them pushes down and reforms them into a Metamorphic Rock (A rock that changed) This process takes many years!
Now, if the Metamorphic Rock ends up in the magma, it will become an Igneous Rock again, or if pieces break off of it, it might become sedimentary.
A rock does not have to go through the entire process. A sedimentary rock may end up in lava or magma and be re-cooked and become Igneous, with out ever being a Metamorphic or an Igneous can end up in magma or lava and reform into a new Igneous.
One way or another, the Rock Cycle says that all rocks can turn into each other!