An ecosystem is the community of plants, animals, bacteria and fungi in a specific environment, regardless of size. One or more food chains exist within this ecosystem, and the total of these food chains is called a food web.