As water enters the sump pump housing or pit, a float rises with the water level. This float is attached to a switch that activates the pump. The water level recedes as the water is removed, and the switch deactivates the pump.