Shanghai is the most populated city in the world with 24 million inhabitants, followed by Beijing with 21 million. In third place is the city of Delhi with 16 million people.