A switch in a small glass tube that closes when a magnet passes, for example a magnet under a locomotive. Used for feedback and switching.