A router connects two or more networks together and routes packets/determines the best route for a packet to travel. Routers use routing tables to do so. Being that routers work on layer3, the network layer, they use IP addressing to do so.
With routers, you can setup segment networks, so that they have multiple broadcast domains and collision domains.