A DNS resolver is a server that receives a client's query and takes on all the work of finding the answer in DNS. The client asks the resolver once and gets a ready IP address back.
Given a name, a recursive resolver walks the DNS hierarchy itself and queries other servers on the client's behalf:
This step is exactly the first stage in the story of how a browser opens a site.
To avoid repeating the walk on every request, the resolver keeps answers in a cache for the TTL set in the record. Until that time expires, a repeat query is served instantly from memory.
A resolver is usually provided by your internet provider, but you can point to a public one: Google (8.8.8.8) or Cloudflare (1.1.1.1). The choice of resolver affects both lookup speed and the privacy of your queries.