Airning needs both the ID or Passport of each of the passengers affected by the flight, as well as the flight ticket, to prove to the airline that it is you who bought that flight and traveled in it, and that you have signed the authorization of transfer of rights.
All this is verified through the signature of your ID/Passport and flight data.