These are just IATA (International Air Transport Association) codes. They are used in aviation to identify and differentiate airports. That’s why a Nagpur Dr. Babasaheb Ambedkar Intl Airport to Seattle/Tacoma Intl Airport flight would often be abbreviated as a NAG to SEA flight.