an NS record is to delegate a subdomain to another nameserver.
An NS record has nothing to do with subdomains imho. An NS record is a record pointing to a nameserver where the DNS records (like A and MX etc.) can be found.
@CarlosMedina If you want to learn about DNS, nameservers and what NS records are there are way better places than here.
we get to the DNS records without using the NS record.
Well... that is certainly not true. The image explains it.
1. Make request to visit a certain site
2. Your computer sends the request via a DNS resolver.
3. The DNS resolver asks the DNS root server where too look
4. The DNS root server points to the nameserver for the domain.
Here you go. The nameserver for the domain is already an NS record at your registrar.
5.) If you run your own nameservers, the .tld nameserver will point to your nameserver. That won't work without you having an NS record present.
Even if you run external nameservers, you need NS records so your dns records like A, MX and Cname records can be found and translated to ip addresses.
Does this explain the question?