The United Nations (UN) was formed on October 24, 1945, in response to the devastation of World War II, aiming to promote international peace, security, and cooperation among nations. Its headquarters is located in New York City, and it serves as a platform for dialogue and resolution of global conflicts.