The document discusses the formation and classification of rocks. It states that there are three main types of rocks: igneous, sedimentary, and metamorphic. Igneous rocks form from the cooling and solidification of magma either below or above the earth's surface. Sedimentary rocks form through the compaction and cementation of sediments. Metamorphic rocks form from alterations to existing igneous and sedimentary rocks caused by heat, pressure, and chemical reactions in the earth. The document provides details on the formation processes and examples of different rock types within each of these three main classifications.