The word "toggle" refers to the act of switching between two or more states or options. It can involve turning something on or off, changing settings, or selecting between different modes. For example, when you press a button on a remote control to switch from TV mode to DVD mode, you are toggling between those two functions.
The word "toggle" originates from the mid-19th century, derived from the word "toggel," which was a variant of the earlier term "toggle," meaning a pin or bolt used in fastening. The exact origin is uncertain, but it is likely related to the Old English word "toggian," meaning to pull or to draw.