What is a DNS?
It is a database which stores information associated with domain names within networks such as the Internet. All computers connected to the Internet have a public IP address, something like 194.179.1.100, the DNS stores this IP addresses and associates them with the hosts.
Also, it works as a translator Domain - IP and IP - Domain.