Minerals are naturally occurring inorganic solids with definite chemical compositions and crystalline atomic structures. There are over 4,000 known mineral types on Earth. Minerals form through natural geological processes as magma cools underground or ions crystallize out of solution. A mineral's crystal structure and properties like hardness, luster, streak, and cleavage can help identify different mineral types. Common rock-forming silicate minerals include feldspar and quartz, while calcite is a major carbonate mineral.