The solar panel gets power from sunshine and charges the battery.
Step 2:
The battery provides power to traffic light and its master/slave controller.
Step 3:
The remoter send wireless RF signals to master/slave controller, making the traffic light work.