There are a number of different types of liquid level sensor used to detect the point level of a liquid. Some types use a magnetic float, which rise and fall with the liquid in the container. Once the liquid, and by extension, the magnet, reach a certain level, a reed magnetic switch is activated.