It is often used in blackhat to show a content to Google, and another to the user.
Here are three methods to see if a site is cloacked.
- In the google SERP, display on see the cache
- Use the Google test tool
- Go through the google proxy googleweblight.com