The rocks are thus divided into three main groups: igneous, metamorphic, and sedimentary. Igneous rocks are formed from the solidification of molten material, metamorphic from a previously existing rock by some process of change such as temperature and pressure variations, and sedimentary from the ...