All the interacting organisms in an area together with the non-living constituents of the environment form an ecosystem. For example, a garden is an ecosystem which consists of plants, insects, water, soil etc.
All the plants and animals in an area are interdependent and interrelated to each other in their physical environment.
Human beings are also an integral part of the ecosystem.