The correct option is D (i) Grass, (ii) Frog
The given food chain is observed on terrestial ecosystem.
Grass (primary producer) is consumed by grasshopper (primary consumer). Later, the grasshopper is consumed by a frog which is eventually consumed by a snake. In this way, the energy flows as food from producers to animals present at different levels.