Igneous rocks form from cooling magma or lava, creating intrusive or extrusive formations. They're classified by mineral composition and texture, ranging from felsic to mafic. These rocks play a crucial role in Earth's crust formation and provide valuable resources. The rock cycle connects igneous rocks to sedimentary and metamorphic types through continuous processes. Magma, the source of igneous rocks, varies in composition and forms through partial melting, decompression, or flux melting. Understanding these processes helps explain Earth's geological history.