The document discusses metamorphism, which is the transformation of rocks due to changes in chemical and physical conditions. Metamorphic rocks form from the alteration of pre-existing igneous, sedimentary, or other metamorphic rocks (called protoliths) due to heat, pressure, and chemically active fluids. Metamorphism can be divided into contact metamorphism near magma intrusions and regional metamorphism caused by heat and pressure at depth over large areas. The degree and type of metamorphism determines the texture and mineral composition of the resulting rock.