Leak detectors are used to prevent the house from flooding. When the detector comes in contact with water it will immediately raise the alarm.