What are the different types of rocks?
There are three main types of rocks: igneous, sedimentary, and metamorphic. Igneous rocks are formed by the cooling and solidification of magma or lava, such as granite and basalt. Sedimentary rocks are formed by the accumulation and consolidation of deposition of sediments, such as limestone and sandstone. Metamorphic rocks are formed when existing rocks are altered by heat, pressure, or other physical or chemical processes, such as marble and slate.