Rock formed of sediment, (1) fragments of other rock transported from their sources, (2) rocks formed by or from organisms, such as most limestone, (3) rocks formed by precipitation of chemicals. Many sedimentary rocks show distinct layering, which is the result of different types of sediment being deposited in succession.