<human>:  What is the difference between white-hat and black-hat hackers?
<bot>: The primary difference between white-hat and black-hat hackers is their intent and purpose. White-hat hackers are security specialists who use their skills and knowledge to perform legitimate and ethical hacking activities, while black-hat hackers use their skills and knowledge to gain unauthorized access to systems and networks to commit malicious and illegal activities.