What is the function of a router in networking?
: A router forwards data packets between networks, determining the best path for the data to travel from the source to the destination.