The stardust is a given. As for sunlight, all the energy including somewhat arguably geothermal (using the suns gravity to help form the earth and I guess radioactive material being formed by other stars) comes from the sun and gets converted into chemical energy you eat so you’re stardust animated by sunlight (mainly).


“Lunar power” arguably came from the initial condensation of matter spinning into the sun - it’s the stuff that didn’t get sucked into the fusion reaction. Now - where did that kinetic energy come from? Likely supernovae nearby not too long ago…