The Sun as a source of energy