WhatsApp can access your contacts and it can also access personal information on your phone, when you "allow" it to access your photos, camera, mic, etc. However, the applications claims to be end-to-end encrypted, which means it does not usually intervene in the chats you exchange with your friends and family.