World War II was a global military conflict that took place primarily between 1939 and 1945. It involved most of the world's nations who split into two military alliances: the Allies and the Axis powers. The war began with Germany's invasion of Poland on September 1, 1939 and ended with the surrender of Germany and Japan in 1945, resulting in an Allied victory and the establishment of the United Nations.