Its primary purpose is to safely and reliably transfer an electrical load between two distinct power sources, such as the main utility grid and a backup generator. It ensures the two power sources are isolated and never connected simultaneously, which prevents electrical accidents.