Igneous rocks form from the solidification of molten magma, classified into intrusive (solidifying underground) and extrusive (solidifying at the surface) types. Their textures vary based on cooling rates, influencing grain sizes where fine-grained rocks cool quickly and coarse-grained rocks cool slowly. The chemical composition (silica content) further categorizes these rocks into mafic, intermediate, felsic, and ultramafic groups, each with distinct mineral compositions and colors.