By indexing the content of a website, search engines can determine what topics a website is about and how well it should rank for certain queries.