What is WTO and its functions?

In brief, the World Trade Organization (WTO) is the only international organization dealing with the global rules of trade between nations. At its heart are the WTO agreements, negotiated and signed by the bulk of the world's trading nations and ratified in their parliaments. Its main function is to ensure that trade flows as smoothly, predictably and freely as possible.