The grass (producers) are eaten by a rabbit (primary consumer).
The rabbit is eaten by a snake (secondary consumer),
That snake is eaten by an eagle (tertiary consumer).
When the eagle dies, its body is decomposed by microorganisms such as fungi and bacteria into simpler nutrients, which are returned to the soil for reuse by plants.
Thus, a chain of eating and being eaten is formed.