Both have their own use-cases and specifications. It depends on your use-case. For example,
1. If you are connecting an ISP directly to provide internet, then the router is the box you need to deploy.
2. If you need to build tunnels between your offices (connecting 2 offices over public internet securely ), then you need a router.
3. If you are a CE participating in MPLS configuration, then you need a router.