Types of rocksOnline version Link the names of the same types of rocks by Raquel Serrano Barrueta 1 Sedimentary rocks 2 Metamorphic rocks 3 Igneous rocks limestone sandstone shale rock salt These rocks and fossils compact over millions of years. slate marble gneiss These rocks form when igneous and sedimentary rocks are pushed down by other layers of rock from above. basalt granite obsidian These rocks form when molten lava from volcanoes cools down.