The correct option is D both biotic and abiotic components
An ecosystem is formed by biotic and abiotic factors and their interactions with each other. The living components of an ecosystem like plants and animals are called biotic components whereas non-living components like soil, air and water are called abiotic components.