Hello,
I just learned this yesterday here's what i know...
The process that will be most responsible for replacing lost nitrogen in an ecosystem would be : Fixation
In fixation, the ecosystem biosynthesize various substance from plants, animal, etc and forming a new nitrogen
hope this helps