The UN is usually seen as a government considering that it has 193 countries. The UN isn’t a government. However it is an organization that enforces laws throughout the world. The UN has lots of branches that help this organization function.
The UN creates international laws through a team called the “International Law Commission”. This branch of the UN was established three years after the UN was created. In the commission there are thirty-four members who enforce most of the worlds legal systems. Most of the laws enforced are human rights laws. Ensuring freedom from torture and slavery. The UN doesn’t just enforce laws. They help third world countries who have starving people or countries with bad diseases such as AIDS and Ebola.
The “Rule of Law” helps fine peace in countries after a conflict of some kind. Such as the holocaust. The UN contain evidence and the paperwork of treaties made between countries as well and encourage other countries to become allies and make treaties. So the UN has many branches so this organization can work efficiently and productively to enforce laws, peace, and security. The law breakers will attend the International Court of Justice in which they will be in front of a judge. It is kind of like a normal court. Just more serious. There have been a total of 160 cases solved since 1946.