During the day, energy is collected from the sun by the solar panel to charge the battery, and at night the energy is used to power the lights.
(energy; is collected; from the sun; by the solar panel; T:During the day) (the energy; is used; to power the lights; T:at night)
energy the energy
is collected is used
from the sun by the solar panel T:During the day
to power the lights T:at night