What is black hat and white hat SEO?
Google has some Webmaster Guidelines. According to these guidelines search engine decides if it is black hat SEO or not. Black hat SEO users never think of user experience. They only need high rank on SERP and this high rank leads to more traffic.