A float switch detects the level of a liquid in a tank or container. It floats on top of the liquid surface and acts as a mechanical switch as the liquid level goes up or down. They control devices like pumps (pump water in or out), valves (open or close inlet/outlets), or alarms to notify users. They are cost-effective, reliable, and can be used with a wide variety of liquids