This is just an IATA (International Air Transport Association) code. IATA codes are used in aviation to identify and differentiate airports. That’s why a Madrid Barajas Airport flight would often be abbreviated as a MAD flight.