An automatic changeover switch (also known as an Automatic Transfer Switch or ATS) is a device that seamlessly shifts electrical loads between a primary source (like the grid) and a backup source (like a generator or inverter) during power failures, restoring back automatically when power returns. They are designed to prevent the need for manual intervention and provide, for example, safe, uninterrupted power in homes, offices, and hospitals.