When you buy an airline ticket there are up to 3 separate airlines that can be involved for each leg of the flight. These are common known as :
The "Marketing Carrier". This is the airline who's flight number is on the ticket/itinerary.
The "Operating Carrier". This is the airline who's aircraft will actually fly the flight.
The "Ticketing Carrier". ...