Single Pole Double Throw switch.
SPDTs are great for selecting between two power sources, swapping inputs, or whatever it is you do with two circuits trying to go one place.
You can also use this as a Single Pole Single Throw (SPST) switch by just using the common terminal (middle one) and either of the outside terminals.