Rocks are naturally occurring combinations of minerals and can be classified into three main types - igneous, sedimentary, and metamorphic. Igneous rocks form from the cooling and hardening of magma above or below ground. Sedimentary rocks form from the accumulation of sediments or organic materials. Metamorphic rocks form from the alteration of existing rocks through heat, pressure, and chemical processes without melting.