Hosts file is system file which is used map the hostnames and an IP addresses for bypassing the DNS Server.
Read this post on varindersandhu.in