Magnetism Sensor / Reed Switch
This Reed Switch is used to detect magnets nearby. The two wire contacts are encased within a glass tube and placed a fraction of a millimeter apart. Whenever a magnet is nearby, it pulls the contacts together and closes the circuit! Simple and effective!