How many organisms are in an ecosystem and where they are is limited by how well the ecosystem recycles materials and by how much food, water, space and shelter is available.