How do deltas form?

A delta is formed when pieces of rock and sediment flow down a river and to the ocean. Over time the sediment at the mouth builds up so much that the water has to find a way around the buildup and a new place to go into the ocean. This happens for a while until a river delta forms. It is similar, in principle, to the formation of alluvial fans at the bottom of mountain canyons.