Answer: Food chain refers to the chain of consumption of the organisms in the ecosystem and the overall contribution of this consumption to the ecosystem. However, the energy pyramid considers the energy transfer as one organism eats another.
Hope this helped!