1610s, "the whole creation, the universe," from Late Latin systema "an arrangement, system," from Greek systema "organized whole, a whole compounded of parts," from stem of synistanai "to place together, organize, form in order," from syn- "together" (see syn-) + root of histanai "cause to stand," from PIE root *sta- "to stand, make or be firm."
Meaning "set of correlated principles, facts, ideas, etc." first recorded 1630s. Meaning "animal body as an organized whole, sum of the vital processes in an organism" is recorded from 1680s; hence figurative phrase to get (something) out of one's system (1900). Computer sense of "group of related programs" is recorded from 1963. All systems go (1962) is from U.S. space program. The system "prevailing social order" is from 1806.
<a href="https://www.etymonline.com/word/ecosystem">Etymology of ecosystem by etymonline</a>
Harper, D. (n.d.). Etymology of ecosystem. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/ecosystem