When you type an URL into your browser and press Enter, your computer will connect to a DNS server, which will look up, and send back the requested domain's IP.
The main function of the domain names is to replace IP addresses, with words that, unlike hexadecimal digits, we are able to recall.