A computer is a box full of electronic.
A computer is a box full of electronic Switching devices.
In electronics, an electronic switch is an electronic component or device that can switch an electrical circuit, interrupting the current or diverting it from one conductor to another.
In electrical terminology, a basic switching device opens and closes an electrical circuit. Electrical circuits must form a continuous loop, and a switch is like a gate in that loop. Therefore, a circuit is "on" when the switch is closed, and the circuit is "off" when the switch is open.
A network switch (also called switching hub, bridging hub, officially MAC bridge) is a computer networking device that connects devices together on a computer network by using packet switching to receive, process, and forward data to the destination device.