An Algorithm is a program consisting of rules put together by a search engine that determines how websites are ranked based on the query a person types into the search engine. Algorithms are highly kept secrets by search engines. No outside person has access to or knows the algorithms search engines use.