The correct option is D Both aquatic and terrestrial
Frogs interact with biotic and abiotic components on land as well as in the water by virtue of them being amphibians. Thus, they may be considered to be a part of both, the aquatic ecosystem and the terrestrial ecosystem.