How does the IOC choose the host cities for the Olympics?

What are like the requirements for a city to host the olympics and how do they choose?
3 answers 3