This question already has an answer here:
There are 5 permanent members of the UN security council - USA, UK, Russia, China and France.
I can understand why USA, UK, Russia and China have their places, being on the winning side at the end of WWII.
But why did France get it's place? - It had a pretty bad war, invaded and conquered within a few weeks, slipped quickly into collaboration and didn't develop a viable resistance organisation until the tide of war had already swung against the Germans. It's the only one of the conquered nations to get a place, why not Poland or Belgium? Or why not one of the other allies, Canada or Australia maybe?
On a similar vein, why was there a French zone in occupied Germany?
My best guess is that the UK and US wanted to 'stack' the council with another 'western' country to increase the odds of outvoting the communist countries Russia and China.
Or is there a less cynical reason?