The global military conflict that lasted from 1939 to 1945 involved the great powers and most nations of the world, which were organized into two opposing military alliances: the Allies and the Axis.