Cloaking is a technique through which one can present a different content to search engine spiders and a different content to normal users whereas webpage is same.It is used to get increased traffic.
It is a sort of doorway technique which is illegal as per SEO guidelines.