Yes, Google tries to accomplish this, and yes, it has significantly improved over the course of the search engine’s existence, but to paraphrase Keiran Flanagan in a tweet, “Google takes your question and attempts to answer it. Your query is taken by ChatGPT, which frequently improves it.