Black hat hackers are highly skilled individuals who illegally hack into a system. The motive behind this is mostly for monetary gain. These individuals are also known as security crackers.
White Hat Hackers, also called ethical hackers, are individuals who discover vulnerabilities in a computer network. Such a hacker works to defend organizations and governments.