An ATS continuously monitors the power supply. When it detects a failure in the primary power source, it automatically engages the backup generator. Once the primary power is restored, the ATS switches back to it, ensuring minimal disruption. This seamless transition is vital for maintaining the precise conditions required in histological procedures.