How does a transmit and receive antenna switch work?

A transmit and receive antenna switch uses electromechanical or electronic circuits to switch the signal from an antenna to a receiver or vice versa. The switch has several connections that can be connected to the respective devices.