A search engine is a program that scans Web sites for desired content, listing relevant sites on the basis of keywords or other search-engine ranking criteria.