Plants build marshes by trapping sediment brought in with each tide.