Which body of UNO gives advisory opinion on legal matters to the bodies and special agencies of the UNO?

The Security Council
International Court of Justice
Trusteeship Council
Secretariat

The International Court of Justice (ICJ) is the principal judicial organ of the United Nations. It settles legal disputes between States and gives advisory opinions on legal questions referred to it by authorized United Nations organs and specialized agencies.

The Security Council is one of the six principal organs of the United Nations. Its powers include the establishment of peacekeeping operations, the establishment of international sanctions, and the authorization of military action.

The Trusteeship Council is one of the six principal organs of the United Nations. It was established to oversee the administration of trust territories, which were territories that were not self-governing and were placed under the administration of a trusteeship agreement with the United Nations.

The Secretariat is the administrative organ of the United Nations. It is headed by the Secretary-General, who is appointed by the General Assembly upon the recommendation of the Security Council.

The correct answer is B.