A toggle switch can be used as a simple on-off switch, but also to choose between two voltages or signals.
Toggle switches can have as much as 4 change-over contacts.

Rated voltages and currents differ per type of switch.