structural:reformatting
Treaties are roughly analogous to contracts in that they establish the rights and binding obligations of the parties. They vary significantly in form, substance, and complexity and govern a wide variety of matters, such as security, trade, environment, and human rights. Treaties may be bilateral (between two countries) or multilateral (involving more than two countries). They may also be used to establish international institutions, such as the International Criminal Court and the United Nations, for which they often provide a governing framework. Treaties serve as primary sources of international law and have codified or established most international legal principles since the early 20th century.