how is the process that generates energy in the suns core different from an explosion caused by a chemical reaction