original_query: What is the purpose of a router in a network?
query: What is the purpose of a router in a network?
answer: A router forwards packets between networks by processing routing information in the packet or datagram (Internet protocol information from layer 3) and using its routing table to determine where to forward packets.