A metamorphic rock is a type of rock that has been transformed from its original state by heat, pressure, or chemical processes. This transformation can occur due to changes in temperature and pressure deep within the Earth's crust, or as a result of contact with hot fluids or magma. Examples of metamorphic rocks include marble, slate, and gneiss.