Search queries can use complex algorithms to scout their vast indexes of web pages and websites, producing a comprehensive list of search results that are tailored to the user’s search query.

Search queries can range from simple, one-word terms to more complex, multi-word phrases, and can be used for a variety of purposes, including research, shopping, and entertainment.

Source

Something to note is the difference between a keyword and a search query. A search query refers to a set of words or phrases that a user types into a search engine to find information. It is a specific request for information that is entered into the search bar. On the other hand, a keyword is a single word or phrase that summarizes the content of a webpage or website. While a search query is what a user enters into the search engine to find information, a keyword is what website owners and search engine marketers use to optimize their web pages for search engines.