A functional unit consisting of the living organisms (plants, animals, and microbes) in a given area, and all the non-living physical and chemical factors of their environment, linked together through nutrient cycling and energy flow. An ecosystem can be of any size-a log, pond, field, forest, or the earth's biosphere-but it always functions as a whole unit