There are many different ways it’s done but one I find the coolest is a signaling light hooked into the siren of an emergency vehicle. Traffic lights can look for this signal from vehicles and, upon seeing it, heavily prioritize letting the lane it’s in have a green.
The tap water here is pretty nasty, we do have a water filtering pitcher though and it does a bang up job so still no need for bottled water.