Switches
Switches (also referred to as toggles in regular UI design lingo) are used for enabling/disabling options. In most cases a switch should be used instead of a stand-alone checkbox.
Don’t use switches when…
When a single confirmation/check is required to progress to next step (e.g. "signing" or "confirming"). Here a checkbox should be used, as both enabled and disabled state in a switch should be allowed values in any context.