Why do I need a robots.txt file and what to install it?

I'm looking at some SEO issues for my home-based business site and continues to find that Google expects to see a robots.txt file. For SEO?

But then I read that many robots ignored it anyway, and we of course want Google to keep it indexed, is not it?

So why do I need a robots.txt file and what should I insert there?