The Sun produces energy through nuclear fusion, where hydrogen nuclei combine to form helium. This process converts mass to energy according to E=mc², releasing enormous heat and light. Fission is incorrect (that's splitting atoms), and the helium-to-hydrogen direction is backwards.