Respuesta :

Primarily the sun, but it energy is also released as gravity pulls the mass of the Earth inward (analogous to a ball gaining energy as it falls).