An ecosystem contains both biotic factors, which are living things like plants, animals, fungi and bacteria, and abiotic factors, which are non-living things like moisture, temperature, wind, sunlight and soil. Changing one of these factors can impact many others in the ecosystem. Ecosystems also contain biodiversity through the variety of living things present, and keystone species, which have an outsized effect on the ecosystem.