As a search engine. A lot of search happens on Google looking for ways to find a solution if not the direct solution. ChatGPT can do both. I tried Doing both the things on Google and ChatGPT, the latter helped more.