Google search works by looking for websites that are related to the words you type in. Once it finds websites, it looks at how popular each website is, how often it gets updated with new content, and how closely related the content is to your search terms. Then, it uses this information to give you the best results possible.