Answer: this is how it works
Step-by-step explanation:
The magma bursts through Earth's surface in the form of a volcano. Heat and pressure deep in the Earth makes some rocks change to metamorphic rock. Layers of rock get squashed and packed together and gradually harden to form sedimentary rock. The igneous rock gets broken down by weather, and the cycle begins again.