An example of patch dynamics in a marine ecosystem is burrowing in intertidal flats and shallow coastal habitats. Patch dynamics also occurs in freshwater ecosystems, as in the case of debris dams, parts of a stream where nutrient cycling processes are concentrated.