The nameservers listed for a domain are the servers that hold its DNS records: where the website lives, where mail goes, and which services are verified. Moving to a new DNS provider means changing these at the registrar.
For all record types at once, including A, MX and TXT, use the DNS Lookup tool.