Nations pooled their sovereignty into a democratic world federation. National armies have been disbanded, and global problems like pandemics and climate change are handled together.