The slide switch toggles an electrical connection on and off. Its leads must be wired to power and ground.