Network Devices
Commonly speaking, there are 3 types of network devices:
Endpoint
Endpoints are the devices the network is trying to connect.
Typical endpoints include:
Computers
Laptops
Servers
Smartphones
Printers
Switch
Switch is a device used as a bridge between endpoints within the same network.
Switches can forward data from one device to another by their MAC Address (OSI Layer 2 - Data Link).
Router
Router is a device used as a bridge between different networks.
Routers can forward data from one network to another by their IP Address (OSI Layer 3 - Network).
Note
Some consumer-grade routers have a built-in switch.
The first port (sometimes called WAN port) is usually used for the external network (internet), but the rest can be used for your internal network just as a switch.