An ecosystem includes all biotic components like plants, animals, organisms etc, and their interaction with abiotic components or non-living environment like weather, wind, soil, climate, sun, water, earth etc. The biotic and abiotic components are connected to each other by nutrient cycles and energy flow.