A 
bedwetting alarm is an electronic device used as a treatment option for nocturnal enuresis. The alarm activates when the wearer urinates. Alarms come in several different styles: 
wearable alarms, 
wireless alarms, and 
pad-type alarms. While there is some variation in the styles of the alarms, they all function similarly; each alarm has a moisture sensor component and an alarm component.