Shale is often found with layers of sandstone or limestone. They typically form in environments where muds, silts, and other sediments were deposited by gentle transporting currents and became compacted, as, for example, the deep-ocean floor, basins of shallow seas, river floodplains, and playas.