IATA airport code stands for International Air Transport Association location identifier.
IATA, the airline industry's trade association, assigns the codes so every booking system, bag tag and boarding pass means the same place. Some are obvious (MAD for Madrid, SYD for Sydney); others are history. Chicago O'Hare is ORD, from Orchard Field, its old name, and many Canadian airports start with Y, as in YYZ for Toronto Pearson.
Some codes cover a whole city. LON means any London airport, NYC any of New York's, PAR any of Paris's. Searching with a city code compares all of a city's airports at once, but check which one the ticket actually uses: Gatwick to Heathrow is not a quick hop.
Pilots and air traffic control use different four-letter ICAO codes, such as EGLL for Heathrow and KJFK for JFK; travellers mostly meet them in flight-tracking apps. Some train, bus and ferry stations that connect with flights have IATA codes too.
Similar codes and names catch people out at booking. San Jose, California (SJC) and San José, Costa Rica (SJO) are one letter apart, so check the full airport name as well as the letters, and check the code on every bag tag at drop-off.
LHR → SIN → SYD
Where you'll find it
On boarding passes, bag tags, e-ticket receipts and departure boards, usually next to the city name.