A rock that has been formed by the accumulation of bits of minerals and soil that are pressurized together is a sedimentary rock.
Sedimentary rocks are formed when sediment, such as bits of minerals and soil, are deposited and compacted over time. This can happen when these materials are transported by water, wind, or ice, and then settle in layers. The pressure of the overlying layers can then cause the sediment to compact and form a rock.
Sedimentary rocks can also be formed when the remains of plants and animals are buried and then fossilized over time. These rocks are called sedimentary rocks because they are made up of sediment that has been deposited and compacted over time.
In contrast, igneous rocks are formed when molten rock (magma or lava) cools and solidifies. Metamorphic rocks are formed when existing rocks are subjected to high temperatures and pressures, which cause them to change in texture and composition. And organic rocks are formed from the remains of plants or animals.