In any environment, there are biotic and abiotic components. There are interactions among these components. All such interactions make an ecosystem.
The different components in the ecosystem are as follows:
Abiotic components: Air, water, soil, sunlight, temperature, humidity, etc.
Biotic components: All the types of living organisms, like bacteria, fungi, plants, and animals.