A magnetic contactor is an electrical switching device. It is used for switching an electrical circuit on and off. It is a special type of relay, but there is a basic difference between the contactor and a relay.