Food chains describe the feeding relationship between the organisms of an ecosystem. The flow of energy from one species to another at various biotic levels forms a food chain. The successive levels in the food chains of a community are called as trophic levels. Various trophic levels in a food chain include producers, primary consumers, secondary consumers and tertiary consumers.
eg:grass->grasshopper->frog->snake
here,
Grass=producer
Grasshopper=primary consumer
Frog=secondary consumer
snake-tertiary consumer