Sedimentary rocks form in layers or strata and are categorized into detrital, non-detrital chemical, and organic types. Detrital rocks are formed from fragments of pre-existing rocks or organic material. Chemical rocks like limestone form from precipitation of minerals from water. Organic rocks form from remains of living organisms.