Indicate the flow of energy in an ecosystem. Why is it unidirectional ? Justify

The flow of energy generally is Sun -> producer -» herbivore —> carnivore. Since the flow is progressively from one trophic level to another and does not revert back, it is said to be unidirectional. Further, the available energy decreases in the higher trophic levels making it impossible for energy to flow in the reverse direction.