An ecosystem is a place where living and non-living things interact, and can exist in various environments from wet to dry and small to large. In an ecosystem, living things depend on each other and non-living things like water, soil and sunlight. Producers like plants make their own food through photosynthesis, while consumers like animals obtain food by eating other organisms, and decomposers like worms break down dead plants and animals and return nutrients to the soil.