ecosystem

Organisms and the environment in which they interact.

Sometimes the definition is extended to include the processes of interaction.
See ecology.