What makes a city work?

More than half of the world’s population lives in urban areas, and this percentage will reach 80% by 2050. But have you ever wondered what it takes for a city to work?