Sedimentary rocks form in different environments depending on the conditions of deposition. Marine environments include beaches, tidal flats, deltas, and deep ocean basins. Non-marine environments include alluvial fans, playas, and glacial deposits where sediments are deposited by rivers, lakes, winds or glaciers away from marine influences. The depositional environment is important for interpreting the sedimentary history and environment conditions when the rock was formed.