As stars burn, lighter elements are fused together. At the same time, very heavy elements decay through radioactivity to become lighter elements. There is a common goal: iron. Iron is the most strongly bound of the atomic nuclei, so it won’t decay into lighter elements without an injection of energy, and it won’t be built into heavier elements without other injections of energy. That is, it has no free energy to give.