Ecologists generally separate organisms in an ecosystem into three categories (producers, consumers, decomposers) based on; their contribution to the stability of the ecosystem. how fast they recycle nutrients within an ecosystem. how they obtain their energy. the sizes and complexities of organisms.