the sun can provides energy to earth