The Name Servers of a domain reveal the DNS servers that are responsible for its DNS records. The IP address of the website (A record), the mail server that handles the emails for a domain name (MX records), any text record in free form (TXT record), directing (CNAME record) etc are obtained from the DNS servers of the web hosting company and for any domain to be using them and to be forwarded to their hosting platform, it ought to have their name servers, or NS records. If you wish to open an Internet site, for instance, and you input the URL, the web browser connects to a DNS server, which keeps the NS records for the domain address and the request is then pointed to the DNS servers of the webhosting provider where the A record of the site is retrieved, so that you can look at the content from the proper location. Ordinarily a domain name has 2 name servers that start with NS or DNS as a prefix and the distinction between the two is just visual.