Think of it like this.
The leafs are solar pannels - Connected to a tower.
During the day these leafs collect the energy.
At night this energy is dispersed throught the whole.