Yes. When you make your reservation, you must write all the names that are shown in your passport. Airlines have strict requirements for security and it is very important that you enter all passengers' names exactly as they appear in their passports.
The airlines do not usually permit any change of name or transfer of tickets. If you enter a name incorrectly this may mean that you have to buy a new ticket without getting your money back for the incorrect ticket.