how energy production occurs within the sun