Surge protectors are devices designed to protect electrical devices from voltage spikes by diverting excess voltage to the ground.