Summarise in your own words:

The International Court of Justice shall be the principal judicial organ of the United Nations. It shall function in accordance with the annexed Statute, which is based upon the Statute of the Permanent Court of International Justice and forms an integral part of the present Charter.

The International Court of Justice is the main judicial body of the United Nations and operates according to its own set of rules, outlined in the attached Statute which is similar to that of the previous Permanent Court of International Justice.