Automatic Transfer switch(ATS) is an intelligent electrical device that continuously monitors the primary power source (like the utility grid) and automatically switches the electrical load to a backup source (like a generator or battery) during an outage, ensuring uninterrupted power for critical systems, then seamlessly switches back when utility power returns.