An ecosystem is a network of both living and nonliving components that interact in order to sustain communities of life.
(An ecosystem; is; a network of both living and nonliving components) (both living and nonliving components; interact; in order)
An ecosystem both living and nonliving components
is interact
a network of both living and nonliving components
in order