Cloaking is basically a technique of misleading search engines robots by showing them a different content; it means a robot will see a different content and the views will see some other content. It is an unethical technique for providing more SEO values to a website, it is considered as black hat SEO technique which should not be practiced.