Router
Routers connect two or more networks and direct traffic between them.  These networks may be physical (the network is associated with a port) or logical (not associated with a port on the router). The term layer 3 switch often is used the same as 'router', but it is a general term without a technical definition.  Layer 3 switch implies a device that is built to connect Ethernet devices in a LAN but can also perform routing.