A code-sharing flight is a flight in which one carrier markets and the other operates. They are the result of an agreement between two airlines to sell seats on each other's flights in order to offer a wide range of destinations for their customers. The flight ticket would be booked on the flight number of the carrier that you have selected to travel with, however, it may be operated by another airline.