When I saw the title of this article, I was surprised to acknowledge that I in fact do not know the difference between using a switch vs a checkbox. Turns out, switches should be used when the change can take effect instantaneously (like a turning on the lights), and checkboxes should be used if there is an expectation of confirmation and a delay. Good to know!