Flexi Says: Several processes can turn one type of rock into another type of rock. The key processes of the rock cycle are crystallization, erosion and sedimentation, and metamorphism. Magma cools either underground or on the surface and hardens into an igneous rock. As the magma cools, different crystals form at different temperatures, undergoing crystallization.