Traffic lights might seem like they let cars stop or go randomly, but that's not always the case. Many of them use special sensors that detect vehicles.