Minerals are naturally occurring non-organic substances with distinctive chemical compositions and physical properties including crystallization. Rocks form in three main classes - igneous from lava or magma, metamorphic from existing rocks undergoing heat and pressure, and sedimentary from compressed sediments. Fossils found in sedimentary rocks provide clues about past life and environments by preserving remains or traces of ancient plants and animals.