Agents which cause the different groups of sediments to be deposited include wind, water, ice, and/or gravity at different intervals of time and compacted on top of each other, until they create a sedimentary rock that has several different types of sediments in the form of layers.