Rocks are transformed by temperature and pressure. This is known as the rock cycle. This means that one can start with an igneous rock and make a metamorphic rock, or start with a sedimentary rock and make a metamorphic rock.