A generator transfer switch is an electrical device that allows you to switch the power source of your home from the utility company to your generator. It ensures that the power from your generator is safely and properly distributed throughout your home's electrical system.