What does a Marsh do?

A marsh is a soggy grassland of shallow water and tall reeds, a cozy home for frogs, herons, and turtles!

▶ what THAT place do?!