The complex of living organisms, their physical environment, and all their interrelationships in a particular unit of space; the total living community of a single environment - the flora, fauna, insects, and man himself - and the interactions of the constituent parts as well as their relationship with the non-living environment. The flow of energy through an ecosystem leads to a clearly defined structure, biotic diversity, and system of exchange cycles between the living and nonliving parts of the ecosystem.