When the user accepts cookies, it allows the site to track his activity. The purpose is to improve the browsing activity and experience; likewise, the search engine can track its activity.