The international court of justice is the main judicial body to the United Nations. It functions whereby a statute، which is considered an integral part of the Charter of the United Nations، and the court leads a role represented in resolving legal disputes raised by member states، and providing advisory opinions in those legal issues referred to the court by United Nations bodies and authorized specialized agencies.