Question: How Do Automatic Traffic Lights Work?

How are traffic lights triggered?

.