There are three main types of rocks: igneous, sedimentary, and metamorphic. Igneous rocks form from volcanic activity and can be intrusive or extrusive. Sedimentary rocks form from the compression of sediments deposited by rivers and contain fossils and layers. Metamorphic rocks were once igneous or sedimentary but have been altered by heat and pressure. Each rock type has distinct characteristics and economic uses such as building materials, cement, roofing, and decorations.