The bots of search engines crawl web pages.
When a web page is crawled for the first time, it is not yet indexed. That means it is impossible to find it through a search on a search engine.
It is indexed when we actually can find this page by searching on the engine.
Finally, we say that a web page is ranked when it comes up on interesting key phrases likely to bring qualified traffic to your website.