Salt marshes are coastal wetlands that are flooded and drained by salt water brought in by the tides. They are marshy because the soil may be composed of deep mud and peat. Peat is made of decomposing plant matter that is often several feet thick. Peat is waterlogged, root-filled, and very spongy. Because salt marshes are frequently submerged by the tides and contain a lot of decomposing plant material, oxygen levels in the peat can be extremely low—a condition called hypoxia. Hypoxia is caused by the growth of bacteria which produce the sulfurous rotten-egg smell that is often associated with marshes and mud flats.