There are two components of Eco-system. These are as follows:-

1)Biotic components = Biotic compounds are those which are living . For examples , Flora and Fauna.

2)Abiotic components = Abiotic components are those which are not living. For example = stones , metals and non-metals etc
The relationship between the biotic components and abiotic components of an ecosystem is called 'holocoenosis'. These include the non-living, physico - chemical factors such as air, water, soil and the basic elements and compounds of the environment. Abiotic factors are broadly classified under three categories.
       2 component
 1 Biotic compounds include living organism  living . For examples rat.,squirrel,flora

2)Abiotic components = Abiotic components  include non-living. For example = stones,metal etc