The NS, or Name Server records of a domain, reveal which servers manage the Domain Name System (DNS) records for it. Setting the name servers of a particular hosting provider for your domain name is the most convenient way to direct it to their system and all its sub-records are going to be managed on their end. This includes A (the IP address of the server/website), MX (mail server), TXT (free text), SRV (services), CNAME (forwarding), and so on, so if you want to change some of these records, you are going to be able to do it through their system. In other words, the NS records of a domain address point out the DNS servers that are authoritative for it, so when you try to open a web address, the DNS servers are contacted to get the DNS records of the Internet domain you want to reach. This way the website you will see is going to be retrieved from the proper location. The name servers usually have a prefix “ns” or “dns” and each domain address has at least two NS records. There isn't any functional difference between the two prefixes, so what type a host company will use depends solely on their preference.