Rock that forms when heat and pressure within the Earth changes its form