Black hat SEO is a practice against search engine guidelines, used to get a site ranking higher in search results. These unethical tactics don't solve for the searcher and often end in a penalty from search engines. Black hat techniques include keyword stuffing, cloaking, and using private link networks.
White hat SEO refers to the usage of optimization strategies, techniques and tactics that focus on a human audience opposed to search engines and completely follows search engine rules and policies.