Switches are used in computer networks to allow more hosts to connect over a larger geographic area by forwarding packets between connected networks, similar to how telephone exchanges connect calls. Switches have multiple input and output ports, can transfer packets from any input to any output, and create the impression that hosts are directly connected even when on different networks. Key issues for switches are limited bandwidth of outputs, contention when more packets arrive than can be delivered, and congestion when buffers fill and packets are discarded.