A city code is a unique three-letter identifier assigned to cities or metropolitan areas that have multiple airports. For example, LON represents London, encompassing Heathrow, Gatwick, and other airports. It simplifies travel booking and logistics.