When solar power is created, it must be used immediately, otherwise your unused electricity will spill over to the grid. To avoid spilling your excess electricity to the grid, a battery is needed. A battery stores excess solar electricity generated for use later in the day.