They sell the data to anyone who is willing to pay, without your knowledge or consent. Facebook and Google exchange your data in the form of free services. Google’s surveillance of you may be more in-depth and private because we will not lie to search engines.
Google collects and preserves our interests and curiosity, hopes and fears, as well as our desires and sexual orientation. The smartphone may be the most intimate surveillance device ever invented. It keeps track of our position. It knows where we live, where we work, and where we go. We constantly check the phone every day. It knows when we wake up and when we go to bed. Everyone has a mobile phone, so it knows who we sleep with.
Source: CNN