The three major types of rocks are igneous, sedimentary and metamorphic rocks. Igneous rocks are formed by the cooling of molten rocks; Sedimentary rocks are formed by the accumulation and lithification of sediments. Metamorphic rocks are caused by changes in rocks due to high heat and pressure.