There are two components of the ecosystem that are
1. Biotic components - All the living things are considered under biotic components. An example is all the flora and fauna.
2. Abiotic components - Non- living things interacting with tour surroundings are considered under abiotic components such as water, sun, air, rainfall, temperature and many more.