The basic fusion reaction through which the sun produces energy is when two isotopes of hydrogen, deuterium and tritium, atoms undergoes fusion reaction resulting to an helium atom, an extra neutron and energy. In this reaction, some mass are being transformed into energy.