non-living chemical and physical parts of the environment that affect living organisms and the functioning of ecosystems