The Hosts file

Used to look up the IP address of a device that is connected to a computer network. It also provides mapping of device names to IP addresses. Upon accessing a device, the networking system tries to locate the name within the Hosts file. This technique is used as a first option to locate the address of a system.