If you are allowing plants to decompose when dead that will add nitrogen to the ecosystem. Plants need nitrogen for photosynthesis. Decomposition and carbon dioxide provide carbon. They expel oxygen. I would say they provide all between dying (decomposition) and respiration.