system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: why is france a permanent member of the UN security council, but not germany?

seeing that germany is bigger in every aspect.

except maybe unofficial influence in former colonies. And WWII.
gpt
The UN was created at the end of the Second World War, partly to try to ensure that a global conflict never occurred again. At that time not only was Germany being punished for 10 years of Nazism, but the German economy was in ruins, the country and its capital city were partitioned and permanently occupied, and few could forsee that within a couple of decades that West Germany would become one of the world's strongest economies.

On the other hand, Britain was still head of the largest empire the world had ever seen, and its resolve in keeping a western front open, along with the military might of the USA and USSR, had all proved absolutely decisive in winning the war. So these three countries were natural choices as permanent members.

Japan was also being punished in the same way that Germany was, and that's the main reason for China's inclusion. China was officially allied with the USA and UK during the war, and Chiang Kai-Shek was seen at Allied summits almost as frequently as Churchill, Stalin and Roosevelt. Again, at the time few people foresaw a Communist revolution in China and nobody could predict that by the 21st century it would also be on the way to becoming one of the world's largest economies.

Although France had been partly conquered by Germany during the war, it was still one of the world's Great Powers in 1945, commanding an empire only a little smaller than Britain's.

TL;DR - the Security Council's permanent members were created based upon the five most powerful Allied countries in the world at the time.