Algorithms are sets of programmed rules that determine likely outcomes based on a set of data. In search engines, algorithms are designed to predict the appropriate pages to show for a certain search term.