Sedimentary rocks form at Earth’s surface from pieces of other rocks, bits of shells, or minerals that come out of water. Weathering and erosion break rocks into small grains. Wind, water, and ice carry these grains to lakes, rivers, or seas. Over time the grains are buried, pressed, and glued together — a process called lithification — to make rocks like sandstone, shale, and limestone.
Sedimentary rocks usually form in flat layers and often hold fossils, which are remains of ancient plants or animals. Geologists sort the grains by size: very tiny clay, slightly larger silt, then sand, and finally gravel-sized pieces.