A rock is any naturally occurring solid mass or aggregate of minerals or mineraloid matter. It is categorized by the minerals included, its chemical composition and the way in which it is formed. Rocks form the Earth's outer solid layer, the crust, and most of its interior, except for the liquid outer core and pockets of magma in the asthenosphere.
Rocks are usually grouped into three main groups: igneous rocks, sedimentary rocks and metamorphic rocks. Igneous rocks are formed when magma cools in the Earth's crust, or lava cools on the ground surface or the seabed. Sedimentary rocks are formed by diagenesis or lithification of sediments, which in turn are formed by the weathering, transport, and deposition of existing rocks. Metamorphic rocks are formed when existing rocks are subjected to such high pressures and temperatures that they are transformed--something that occurs, for example, when continental plates collide.
Rocks are composed primarily of grains of minerals, which are crystalline solids formed from atoms chemical bonded into an orderly structure. Some rocks also contain mineraloids, which are rigid, mineral-like substances, such as volcanic glass, that lacks crystalline structure. The types and abundance of minerals in a rock are determined by the manner in which it was formed.
Most rocks contain silicate minerals, compounds that include silica tetrahedra in their crystal lattice, and account for about one-third of all known mineral species and about 95% of the earth's crust. The proportion of silica in rocks and minerals is a major factor in determining their names and properties.
Rocks are classified according to characteristics such as mineral and chemical composition, permeability, texture of the constituent particles, and particle size. These physical properties are the result of the processes that formed the rocks. Over the course of time, rocks can be transformed from one type into another, as described by a geological model called the rock cycle. This transformation produces three general classes of rock: igneous, sedimentary and metamorphic.
Those three classes are subdivided into many groups. There are, however, no hard-and-fast boundaries between allied rocks. By increase or decrease in the proportions of their minerals, they pass through gradations from one to the other; the distinctive structures of one kind of rock may thus be traced, gradually merging into those of another. Hence the definitions adopted in rock names simply correspond to selected points in a continuously graduated series.
Igneous rock (derived from the Latin word igneus, meaning of fire, from ignis meaning fire) is formed through the cooling and solidification of magma or lava. This magma may be derived from partial melts of pre-existing rocks in either a planet's mantle or crust. Typically, the melting of rocks is caused by one or more of three processes: an increase in temperature, a decrease in pressure, or a change in composition.
Igneous rocks are divided into two main categories:
Magmas tend to become richer in silica as they rise towards the Earth's surface, a process called magma differentiation. This occurs both because minerals low in silica crystallize out of the magma as it begins to cool (Bowen's reaction series) and because the magma assimilates some of the crustal rock through which it ascends (country rock), and crustal rock tends to be high in silica. Silica content is thus the most important chemical criterion for classifying igneous rock. The content of alkali metal oxides is next in importance.
About 65% of the Earth's crust by volume consists of igneous rocks. Of these, 66% are basalt and gabbro, 16% are granite, and 17% granodiorite and diorite. Only 0.6% are syenite and 0.3% are ultramafic. The oceanic crust is 99% basalt, which is an igneous rock of mafic composition. Granite and similar rocks, known as granitoids, dominate the continental crust.
Sedimentary rocks are formed at the earth's surface by the accumulation and cementation of fragments of earlier rocks, minerals, and organisms or as chemical precipitates and organic growths in water (sedimentation). This process causes clastic sediments (pieces of rock) or organic particles (detritus) to settle and accumulate or for minerals to chemically precipitate (evaporite) from a solution. The particulate matter then undergoes compaction and cementation at moderate temperatures and pressures (diagenesis).
Before being deposited, sediments are formed by weathering of earlier rocks by erosion in a source area and then transported to the place of deposition by water, wind, ice, mass movement or glaciers (agents of denudation). About 7.9% of the crust by volume is composed of sedimentary rocks, with 82% of those being shales, while the remainder consists of limestone (6%), sandstone and arkoses (12%). Sedimentary rocks often contain fossils. Sedimentary rocks form under the influence of gravity and typically are deposited in horizontal or near horizontal layers or strata, and may be referred to as stratified rocks.
Metamorphic rocks are formed by subjecting any rock type--sedimentary rock, igneous rock or another older metamorphic rock--to different temperature and pressure conditions than those in which the original rock was formed. This process is called metamorphism, meaning to "change in form". The result is a profound change in physical properties and chemistry of the stone. The original rock, known as the protolith, transforms into other mineral types or other forms of the same minerals, by recrystallization. The temperatures and pressures required for this process are always higher than those found at the Earth's surface: temperatures greater than 150 to 200 °C and pressures greater than 1500 bars. Metamorphic rocks compose 27.4% of the crust by volume.
The three major classes of metamorphic rock are based upon the formation mechanism. An intrusion of magma that heats the surrounding rock causes contact metamorphism--a temperature-dominated transformation. Pressure metamorphism occurs when sediments are buried deep under the ground; pressure is dominant, and temperature plays a smaller role. This is termed burial metamorphism, and it can result in rocks such as jade. Where both heat and pressure play a role, the mechanism is termed regional metamorphism. This is typically found in mountain-building regions.
Depending on the structure, metamorphic rocks are divided into two general categories. Those that possess a texture are referred to as foliated; the remainders are termed non-foliated. The name of the rock is then determined based on the types of minerals present. Schists are foliated rocks that are primarily composed of lamellar minerals such as micas. A gneiss has visible bands of differing lightness, with a common example being the granite gneiss. Other varieties of foliated rock include slates, phyllites, and mylonite. Familiar examples of non-foliated metamorphic rocks include marble, soapstone, and serpentine. This branch contains quartzite--a metamorphosed form of sandstone--and hornfels.
The use of rock has had a huge impact on the cultural and technological development of the human race. Rock has been used by humans and other hominids for at least 2.5 million years. Lithic technology marks some of the oldest and continuously used technologies. The mining of rock for its metal content has been one of the most important factors of human advancement, and has progressed at different rates in different places, in part because of the kind of metals available from the rock of a region.
Rock varies greatly in strength, from quartzites having a tensile strength in excess of 300 MPa to sedimentary rock so soft it can be crumbled with bare fingers (that is, it is friable). (For comparison, structural steel has a tensile strength of around 350 MPa.) Relatively soft, easily worked sedimentary rock was quarried for construction as early as 4000 BCE in Egypt, and stone was used to build fortifications in Inner Mongolia as early as 2800 BCE. The soft rock, tuff, is common in Italy, and the Romans used it for many buildings and bridges. Limestone was widely used in construction in the Middle Ages in Europe  and remained popular into the 20th century.
Mining is the extraction of valuable minerals or other geological materials from the earth, from an ore body, vein or seam. The term also includes the removal of soil. Materials recovered by mining include base metals, precious metals, iron, uranium, coal, diamonds, limestone, oil shale, rock salt, potash, construction aggregate and dimension stone. Mining is required to obtain any material that cannot be grown through agricultural processes, or created artificially in a laboratory or factory. Mining in a wider sense comprises extraction of any resource (e.g. petroleum, natural gas, salt or even water) from the earth.
Mining of rock and metals has been done since prehistoric times. Modern mining processes involve prospecting for mineral deposits, analysis of the profit potential of a proposed mine, extraction of the desired materials, and finally reclamation of the land to prepare it for other uses once mining ceases.
Mining processes may create negative impacts on the environment both during the mining operations and for years after mining has ceased. These potential impacts have led to most of the world's nations adopting regulations to manage negative effects of mining operations.