Energy given out by the Sun is due to nuclear fusion.
So the statement is true.
The energy produced inside the star is due to the process called nuclear fusion.
The heat and light energy is given out by our sun due to: