We ask for your phone number because that is how WhatsApp routes chat messages between you and your contacts, similar to how the SMS system would.
WhatsApp uses the phone numbers from your phone's address book to provide you an up-to-date list of WhatsApp users you know to make it easier for you to message them via WhatsApp. WhatsApp regularly looks at the phone numbers in your address book and then checks to see which of those numbers are verified in WhatsApp. This allows any WhatsApp users from your address book to appear as contacts in your Favorites list (Contacts tab on Android) and the Chats screen. During this entire process, phone numbers are sent to WhatsApp for lookup, securely, over an encrypted connection. So that you know who you are chatting with, the app then displays the names from your address book.
WhatsApp Support Team