Food chains use a unidirectional transfer of energy. Plants absorb energy from the sun, then the energy goes on to next tropic level and so on. But in this system, energy source is the Sun.
When any organism dies, it’s decomposition doesn’t contribute energy back to the sun (as the nuclear process in the sun keeps on generating energy).
So my question is - doesn’t it violate the law of conservation of energy? As energy is not flowing back to the sun? Here Sun is the ultimate source of energy as it just keeps on creating energy, so energy isn’t conserved?