An ecosystem is a system which is at least partly based on relationships between sovereign organisms.
Each ecosystem is a system of systems, because each organism is a system. Ecosystems can have many multidirectional hierarchical levels, as well as nonhierarchical relationships which link many inputs and outputs.