Metamorphic rocks are formed from the alteration of pre-existing rocks, such as igneous or sedimentary rocks, under high pressures and temperatures within the Earth. There are three main types of metamorphism - contact, regional, and cataclastic - which result in different textures and mineral compositions in the metamorphic rocks. Metamorphic rocks can be classified based on their textures as either foliated, containing aligned platy minerals, or non-foliated, and by their mineral composition. Common metamorphic rocks include slate, phyllite, schist, gneiss, marble, quartzite, and amphibolite.