This document summarizes the key characteristics and formation processes of the three main types of rocks: igneous, sedimentary, and metamorphic. Igneous rocks form from the cooling and solidification of magma. Sedimentary rocks are formed at the Earth's surface from the compaction and cementation of sediments. Metamorphic rocks are formed from the alteration of existing rocks through heat, pressure, and chemical changes in the Earth's crust.