The Charter of the United Nations is the foundational treaty of the United Nations. It establishes the purposes, governing structure, and overall framework of the UN system, including its six principal organs: the Secretariat, the General Assembly, the Security Council, the Economic and Social Council, the International Court of Justice, and the Trusteeship Council.