The United Nations main goal is to work on international law, international security, economic development, human rights, social progress, and eventually world peace. ... Almost every internationally recognized country is in the U.N.; as it contains 193 member states out of the 196 total nations of the world.