Salt marsh plants include a wide variety of tall reedy plants, like Spartina, Phragmites, and Juncus. Spartina in particular has a habitat function of raising the overall marsh elevation, both with below-ground growth of rhizomes which add bulk, and by functioning as water baffles during ebb tides, which causes soil to build up along the marsh edges to the same level as the highest high tide. The marsh edges creep out along the mud flats until they stop being wide, shallow areas, and instead are narrow, deep channels - which are called tidal creeks (more about tidal creeks on page 2).
Although tall reeds are the most obvious feature of a salt marsh, most of the primary production (the turning of sunlight into food) comes from benthic microalgae - mainly diatoms, also blue-green algae, dinoflagellates, and euglenids - which live on bottoms and other surfaces. Benthic microalgae are an excellent protein source compared to other plant sources of protein, about on par with animal protein sources, which makes them an excellent food source for grazing herbivores that are short-lived, or need to grow quickly. Phytoplankton, which float in the water column, provide high quality protein as well, but there is much less of it than benthic microalgae.