The Earth's crust contains valuable mineral resources, including metallic minerals like gold and silver, and nonmetals like sulfur and quartz. Ores can form through various geological processes such as cooling magma, contact metamorphism, and the movement of water. Mining companies explore for mineral deposits, often employing subsurface or surface mining methods, including placer and undersea mining.