This is a magnetic sensor based on the Hall effect. The sensor’s switch remains closed in the presence of a magnetic field, opening up in its absence. Together with its complementary magnet it can be used in applications of monitoring proximity or opening mechanisms.