Solar energy is created through nuclear fusion that takes place in the presence of sun. Fusion happens when protons of hydrogen atoms violently collide in the sun’s core and fuse to create a helium atom.
This process, known as a PP (proton-proton) chain reaction, emits an enormous amount of energy