In calling society an ecological system we are not merely using an analogy; society is an example of the general concept of an "ecosystem" that is, an ecological system of which biological systems - forests, fields, swamps - are other examples.
"A Reconstruction of Economics". Book by Kenneth Ewart Boulding, p. 6, 1950.