Also known as: ns record, dns server
Nameservers are authoritative for a domain’s DNS zone. The registry publishes which nameservers to ask, based on what you set at your registrar.
Changing nameservers moves your whole DNS zone to a new provider; editing records changes entries within the current zone.