Sandstone, shown below, is one kind of rock that forms in horizontal layers. If a stack of rock layers has not been disturbed since it formed, the layers are toward the bottom and the layers are toward the top.