By displaying the food path from a producer to a final consumer, a food chain depicts the flow of energy through a system.
Trophic level:
Based on the source of their nutrition or food, organisms occupy a specific place in the food chain known as their trophic level.
Primary producers comprise the first trophic level, followed by primary consumers (herbivores), secondary consumers (carnivores are feeding on herbivores), etc.