Traffic Lights also called traffic signal or stoplight mostly placed where the roads meet and at squares or T points. These lights help in controlling the traffic by signalling which…