Energy Generation And Stability Of The Sun