Ecosystems comprise flows of energy and materials, structured by organisms and their interactions. Important generalizations have emerged in recent decades about conversions by organisms of energy (metabolic theory of ecology) and materials (ecological stoichiometry). However, these new insights leave a key question about ecosystems inadequately addressed: are there basic organizational principles that explain how the interaction structure among species in ecosystems arises? Here we integrate recent contributions to the understanding of how ecosystem organization emerges through ecological autocatalysis (EA), in which species mutually benefit through self-reinforcing circular interaction structures. We seek to generalize the concept of EA b...