input: [1] Your ISP (the government, etc.) [2] url search terms IP date/time city/state/country (from IP) name address phone number social security number credit card number and more… [3] Your ISP is the only one knows exactly what IP corresponds with exactly what household. And for that household they have a name, phone number, address, perhaps credit card and social secrity number, etc. In no way am I suggesting you should be afraid of your ISP, per se. They will not divulge your identity behind your IP to just anyone, but in this new age of loosely targetted government warrantless wiretaps, RIAA anti-piracy monitoring and lawsuits, etc. ISPs are giving up your identity with and without legal necessity. And ISPs have installed government packet sniffing NarusInsight nodes at their facilities which can analyze all network traffic passing by, looking for activity they deem “suspicious”. And suspicious likely includes the use of keywords, phrases, website urls, etc. that may have worrying or innocent uses.Also note, other ISPs are involved as your internet traffic travels crosses various networks. The ISPs in between can record the traffic they see. [4] ISPs are legally required to retain information about you for 6 months to 2 years, specifically to help law enforcement. What they retain is left somewhat open-ended, but is at least the information about who had what IP when. ISPs have also in the past generated revenue by selling traffic information to thirdparty companies, helping search engines and advertisers know what web sites are popular; they would not directly include your IP, but poorly written sites can leak some data through URLs. [0] 
output: Your web browser contacts Google search via your internet service provider (ISP) to get the Google search results.