The NS, or Name Server records of a domain name, indicate which servers handle the Domain Name System (DNS) records for it. Setting the name servers of a given hosting provider for your domain is the simplest way to forward it to their system and all its sub-records will be handled on their end. This includes A (the IP address of the server/website), MX (mail server), TXT (free text), SRV (services), CNAME (forwarding), etcetera, so, in case you want to edit some of these records, you will be able to do it using their system. To put it differently, the NS records of a domain show the DNS servers which are authoritative for it, so when you attempt to open a web address, the DNS servers are contacted to retrieve the DNS records of the domain name you want to reach. In this way the site you will see is going to be retrieved from the correct location. The name servers typically have a prefix “ns” or “dns” and every single domain address has at least 2 NS records. There is no functional difference between the two prefixes, so which one a hosting provider is going to use depends only on their preference.