True, when small pieces of rock and animal remains weather over the years it sometimes get carried down stream then form a layer of rock. over years different types of rocks settle in the same place and compacts the rocks beneath it forming another layer.