If a leak occurs nearby, the water will complete the detector's circuit and it'll send out an alert (some also have drip sensors on top ... reaching extra-freezing temperatures that can crack valves ...