A transfer switch is a device that switches a load between two or more power sources. It comes in four types by control and speed: manual, non-automatic, automatic, and static. A Manual Transfer Switch (MTS) requires human operation (usually via a lever) and is usually used for non-critical loads. A non-automatic transfer switch allows the operator to switch it remotely. An Automatic Transfer Switch (ATS) operates automatically. The operation of a Static Transfer Switch (STS) is based on semiconductors, which ensures the absence of moving parts and very high switching speed, but at the same time a very high cost.
There are two transfer switches types by transition: open transition and closed transition.
Manual, non-automatic and automatic transfer switches are usually open transition or "break-before-make", which means they break their connection to one power source before making a connection to the other.
A closed transition or "make-before-make" switch makes a new connection to the new power source before breaking its connection to the previous one. Since closed transition requires source synchronization, this type of transition is only used by transfer switches with microprocessor logic.
However, closed transition transfer switches have a big problem. When a massive load is switched between power sources, the new power source must accept it on itself, which can lead to equipment wear and tear. In order to reduce effects of massive load transitions there are Soft Loading Transfer Switches (SLTS). They synchronize and use both their power sources. Each power source gives approximately 50 percent of its might, so if one of them disappears, the second just picks up the other 50 percent.

Transfer switches find their applications in all places, where a continuous power supply is critical. It's hospitals, where a power failure can stop life-support equipment, interrupt surgery, disable ventilators, or disrupt diagnostic imaging, data centers, and other facilities and building, where a power outage may cause big financial losses or threaten people's lives.
There are also a lot of transfer switches for ordinary buildings and houses in order to safely connect them to an electric generator or inverter. Some of them can automatically start and stop generators.