Rock microstructure intrusions are a result of uninterrupted slow cooling. When a rock cools too quickly the liquid freezes into a solid glass, or crystalline groundmass. Often vapor loss from a magma chamber will cause a porphyritic texture. "Embayments" or 'corroded' margins to phenocrysts infer that they were being resorbed by the magma and may imply addition of fresh, hotter magma. Ostwald ripening is also used to explain some porphyritic igneous textures, especially orthoclase megacrystic granites. A crystal growing in a magma adopts a habit (see crystallography) which best reflects its environment and cooling rate. The usual phenocryst habit is the ones
Volcanism plate tectonic activity, but some earthquakes are generated as a result of volcanic activity (though that itself is ultimately driven by the same forces). These are formed where water interacts with volcanism. These include geysers, fumaroles, hotsprings and mudpots, they are often used as a source of geothermal energy. The amount of gas and ash emitted by volcanic eruptions has a significant effect on the Earth's climate. Large eruptions correlate well with some significant climate change events. When magma cools it solidifies and forms rocks. The type of rock formed depends on the chemical composition of the magma and how