Answer
Igneous, sedimentary, and metamorphic rocks are the three different types of rock.
Molten rock (lava or magma) cools and solidifies to form
igneous rocks. Particles that settle out of water or the
atmosphere or minerals that precipitate from water are
the sources of sedimentary rocks.
They gather in layers.