The gerbil is running in the wheel, which powers the bucket pump.
The gerbil wheel and the water are originally on the "ground" level. The buckets are taking water (electrons) up to the higher level.
In a circuit, the battery increases the energy of the electrons, which gives them voltage and they are no longer on the "ground" level. This process requires energy, which is provided by the gerbil and bucket pump.