Phosphorus and nitrogen are the biggest limiting nutrients in both ecosystems. There are species that fix nitrogen in both, for example, legumes fix nitrogen in terrestrial ecosystems and cyanobacteria fix nitrogen in aquatic systems. But too much of a good thing can be harmful, the phosphorus that comes from runoff from terrestrial ecosystems can destroy aquatic ecosystems.