Sedimentary rocks are formed by the lithification of sediments and include clastic sedimentary rocks such as sandstone and shale that are formed from fragments of pre-existing rocks transported by water, wind or ice. They also include chemical sedimentary rocks such as limestone that are formed via precipitation from solution. Sedimentary structures within these rocks provide clues about the depositional environment, and sedimentary rocks are classified based on their mineral composition, grain size, sorting and rounding. Common sedimentary rocks used in construction include sandstone, limestone and shale.