The World Trade Organization (WTO) deals with the global rules of trade between nations. Its main function is to ensure that trade flows smoothly, predictably and freely as possible.