What is cloaking?
Cloaking is a technique used in Black Hat SEO.
Cloaking is a search engine optimization technique where the content displayed to the search engine spider differs from the content displayed on the user's browser. This is done by providing content based on the IP addresses or the User-Agent HTTP header of the user requesting the page. Generally, we called it black hat SEO techniques. Black hat Techniques are used by those agencies who want to rank within 1-month or even less than one month or only works for short time goals.