These are just IATA (International Air Transport Association) codes. They are used in aviation to identify and differentiate airports. That’s why a Casablanca Mohamed V Airport to Denpasar Bali Ngurah Rai Airport flight would often be abbreviated as a CMN to DPS flight.