An ecosystem includes
(a) all living organisms
(b) non-living objects
(c) both living organisms and non-living objects
(d) sometimes living organisms and sometimes non-living objects
(c)The ecosystem consists of biotic components comprising living organisms and abiotic components comprising physical factors like temperature, rainfall etc.
Ecosystem includes interaction among biotic and abiotic components, i.e., both living organisms and non-living objects.
Therefore option (C) is correct