user
Create an analogy to explain how the sun provides energy


assistant
The sun is like a battery providing energy, just like a battery powers a flashlight. The sun's energy is absorbed by the Earth's atmosphere and used to power plants and fuel life on the planet.