Answer:
There are a few ways that traffic lights can sense the presence of a car. One way is by using inductive loops that are installed on the road. These loops detect changes in the magnetic field caused by a car passing over them. Another way is by using infrared sensors that detect the heat signature of a car.
Step-by-step explanation:
Hope this helps!