The source of energy of the sun is :
Nuclear fusion converts Hydrogen gas into helium producing tremendous amount of energy.