If two ERC20 tokens aren't paired directly, and don't have a common pair amongst them, they might continue to be swapped as long as a route between them exists. Router contracts can be used to optimize in between direct https://uniswapv3login.azurewebsites.net/