What is the meaning of Three-way_switch?

A type of light switch that can be arranged in pairs to control lights from two locations, as at either end of a stairway or long hallway; a double-throw switch. : two-way switch.

Source: wiktionary.org