An ecosystem is a community of biological organisms plus the non-living components in the environment with which the organisms interact.