The reed switch is an electrical switch operated by an applied magnetic field. It was invented at Bell Telephone Laboratories…