The snap-acting thermostat cuts off power to the heater if the bucket runs dry, preventing overheating.