A router is designed to understand, manipulate, and direct data packets based on their IP addresses. It connects local area networks (LANs) and wide area networks (WANs), featuring a dynamically updating routing table to make decisions on routing data packets.