There is a huge difference between these two terms. Let’s see.
White hat SEO (sometimes called ethical SEO) relates to optimization methods that aim to make the content compatible with the Google policy and which make sites helpful for users. This kind of SEO won't increase your website’s traffic in an hour, but it will bring profits in the long term.
White Hat SEO concerns among others:
Making consistent content that provides useful information about a particular issue. Content that offers a solution to a problem.
The use of relevant keywords.
Black hat SEO strategies focus only on search engines. It means that you don’t optimize your content for people who read it. What’s more, the approach is called black because it breaks search engine rules.
This approach is usually used by people who look for a fast profit rather than building a good site that will bring profits in the long term.
Black SEO tactics include such things as:
Buying links for SEO.
Cloaking - it appears when search engine bots are presented with different content than humans.
For example, when you click on a link that does not interact with the site and its content. Cloaking may damage the site's long-term performance and can result in transferring your site from the index.