but then they poop too right? so what has been accomplished? ( I am asking as I admit to not being well versed in this area)
Each organism uses the 'food' to their potential, and leaves less for the next creature down the line.
Most of that energy taken, is then spent in the form of kinetic energy (moving around the tank) or growth (cell reproduction) or in other forms like body heat + functions...
That the energy is being used in those manners, instead of just sitting around causing pollution, results in a healthier tank.
Ideally, you want enough creatures that will diversify and take up each 'niche' in the ecosystem, but a lot of people go waaay overboard and get tons of un-needed and
unsustainable cleanup crew.
In my 55g, I have a few shrimp, 1 nassarius (sp) snail in my tank, amongst bristle worms, brittle-stars, "Pods" of all sorts, and plenty of small tubeworms and "peanut worms". And they cleanup after a VERY heavy bio-load (I have a lot of fish + corals in my system!)
So if you only have 2 fish in there, you may not create enough bioload to support/sustain my 'cleanup crew'.
Find your own balance.
:thumbsup:
*Edit:
Every tank truly is an eco-system that balances itself for the most part. For example, when I introduced brittle-stars into the equation, my bristleworm population dropped by about half... because they occupy a similar 'niche' in the ecosystem... Regardless of creatures you have in each 'niche', the total system will only support so much depending on your food/fish bio-load 'input'...
And to an extent, the more niches you have filled, the more 'capable' your system of properly 'digesting' the food /bio-load (because it utilizes that much more of otherwise deteriorating food which would result in degrading water quality). Each niche is but a level in a many, many pronged ladder down to our 'good bacteria' - on which the entire cycle depends!
It is true that when creatures die, however, they then release their CURRENT bio-mass (not total accumulated/spent bio-mass or energy

) back into the system. But each creature uses that much more of the 'total energy' before it dies (further removing energy/pollution from the system). And, the more diverse/plentiful your system's niches, the better it 'digests' the excess food/energy from the tank (using it for movement/growth/heat, etc.).
Each tank is a closed system that tries to keep in balance and check with itself, along with our human 'input' + 'output'... (feeding, WC/dosing)