...
A router works at the network layer of the OSI layers. Thereby router ensures machine-to-machine transfer of data packets between source and destination:
...
The router is used to read the packet’s header and direct it to the destination. As the name implies, it decides the best route for transmission based on a continuously updating routing table it possesses.
Bridge
A bridge works at the data link layer of the OSI layers. Therefore it enables the node-to-node transfer of data between source and destination. Besides acts as the connecting center of separate networks into one network:
...