Metamorphic rocks are rocks that formed originally as igneous [igneous rock] or sedimentary rocks [sedimentary rock] but which have been changed mineralogically, texturally, or both - without undergoing melting - in response to heat, pressure, directed stress, or chemically active fluids or gases.