Google was founded in 1998 by Sergey Brin and Larry Page and developed the PageRank algorithm. It started selling keyword advertising in 2000 through programs like AdWords and AdSense, which became major drivers of its business and revenue. While Google faces competition from other search engines and technology companies, it maintains an advantage through its large market share and ability to collect extensive user data that helps improve its search algorithms and services.