These living things interact with the nonliving things around them such as sunlight, temperature, water, and soil. The living things in an ecosystem are interdependent. ... For example, a tree depends on sunlight for energy and food. A snail depends on plants for food.
Hope it helpss:))