What is robot.txt file?
The robot.txt file is places in the root of the website.
It allows the web masters to instruct the website pages for indexing in the search engine.
You can also disallow the search engine for indexing or crawling certain url's of your website.
Here is example of robot.txt file:
User-agent: * Allow: /