Why are marshes more productive than bogs?

Why are marshes more productive than bogs?