What is the difference between reactions in batteries and the sun?