Metamorphism is the process by which rocks are changed physically and chemically due to heat, pressure, and fluids acting on them at depth within the Earth. There are two main types of metamorphism: contact metamorphism, which occurs near intrusions of magma, and regional metamorphism, which occurs over large areas due to pressure between tectonic plates. Metamorphic rocks like slate, marble, and quartzite form and have different mineral assemblages depending on the temperature and pressure conditions during metamorphism. Metamorphic rocks have various commercial and construction uses.