transfer whatsapp messages and data from android phone to computer

Backup WhatsApp messages and data from Android phone to computer

How to transfer and backup WhatsApp messages, photos, videos and other data from Android phones to computer?