Rocks that are formed when the other forms of rock are under extreme heat and pressure are called
Metamorphic rocks
Inside the Earth's crust, the temperature and pressure is very high. This changes both the igneous and sedimentary into metamorphic rocks.