Answer:
Stars generate energy through nuclear fusion. Here's an easy explanation about how the process works. ... Stars spend most of their lives repetitively compressing two hydrogen atoms into a single helium atom – plus a lot of energy, which is released as light and heat.