A float switch is a switch used with a sump pump that floats up and down with rising and falling water levels and turns a sump pump on or off when appropriate.