Mineralogical and structural changes in solid rocks caused by physical conditions different from those under which the rocks originally formed. Changes produced by surface conditions such as compaction are usually excluded. The most important agents of metamorphism are temperature , pressure and stress.