Switch
The switch is called a "gate" when used in a mathematical form. In logic, arguments are represented as logic gates. The use of electronic gates to work as a system of logical gates is the basic idea behind the computer —i.e. a computer is a lot of electronic switches that work as logic gates.