A relay is an electrically operated switch. A contactor is a heavy-duty relay, used for switching items requiring high current or voltage. Both allow a low current or voltage to switch a higher one.
Consisting of a set of input terminals, and a set of operating terminals. It is available in many configurations such as SPDT or DPDT.