What is the process by which the suns energy is trapped as the source of energy and converted into chemical energy