The ultimate source of nuclear energy is not the sun, but rather other stars. Stars undergo fusion reactions that turn lighter elements like hydrogen into heavier elements like helium, carbon, and eventually uranium. When massive stars reach the end of their life cycle, they explode in supernovas, spreading these heavy elements across space. The uranium used in nuclear power plants was created in ancient supernovas and became part of Earth when it formed. Therefore, nuclear energy comes from other ancient stars, not directly from the sun like other energy sources.