Airport codes are divided into two sets: IATA codes (three letters) for passenger operations and ICAO codes (four letters) for industry use. IATA codes are determined based on how the airport wants to identify itself and the availability of the letter combination.