A web search engine is an online program designed to search for data available online. It creates an index of content from documents and websites, then returns a list of the most relevant matches when a person queries the search engine.