Cloaking is the cover up or hide something. In cloaking SEO techniques then refers the actions of webmasters hide search engine like Google bot to crawl the content that users see, and he proposed for Bot seen better optimize content aimed Onpage achieving a high position on the SERP.
For example: In some cases, you will be surprised to see the web or not relevant webpage content keyword search but ranked very high on the SERP
So they do like?
Very simply use CGI / Htacess of server hosting to decide by the bot user agent or IP list to decide which IP's Bot will see content, and the rest are visitors will see other content. Also they can use the software on the network to decide Cloaking publishing area is cloaking page and which are not.
In some ancient techniques are also available to cloaking script to redirect web pages, such as hot as your SEO keyword "beautiful girl" and when they click on that site will automatically redirect to internal website other items such as selling computers. Currently techniques so simple Google than enough intelligence to determine and will determine whether or not your ticket.
Should we use Cloaking?
For many webmasters, the moral violation Cloaking is considered black hat SEO and should not be used because if they do so and if Google discovers then your website will be penalized severely Penalty. But some other webmasters, you could still use for other purposes on the site but do not think I used that to cheat bot cloaking and SERP. So the circumstances are or may Cloaking Cloaking is but "lenient" than that?
Hope it's useful for you! That is my opnion! thanks