Driving force for an ecosystem is the
The autotrophs or the producers capture the energy present in sunlight and convert it into chemical energy. This energy supports all the activities of the living world. From autotrophs, the energy goes to the heterotrophs and decomposers.
Hence, the correct option is D.