A comprehensive interacting relationship between living organisms in a specific area and the surrounding non-living environment.