Sedimentary rock is like a giant puzzle made of tiny pieces. Imagine that every time it rains or snows, some of the dirt and tiny rocks on the ground get washed away and carried to a river or the ocean. After a while, all of these tiny pieces start to pile up on top of each other and become compacted, like when you squish a bunch of sand in your hand.
Over a really, really long time, all of these squished layers of tiny pieces turn into sedimentary rock, kind of like a big, layered cake. Each layer can tell us a story about what the environment was like when those tiny pieces were being deposited, or how old the rock is.
Sedimentary rocks can be different colors and textures too, depending on what kind of tiny pieces were squished together. Some sedimentary rocks are made of sand or little shells, and some can even have fossils of ancient plants or animals trapped inside.
So, to sum it up, sedimentary rock is like a big, layered puzzle made of tiny pieces that have piled up and squished together over millions of years, giving us clues about what the earth was like a long, long time ago.