How would that work for site like Facebook or Instagram or other sites where there is no clear relevant content to target?
If you use facebook purely for posting and viewing family baby photos, but view websites about tractors, you'll probably see ads on facebook from tractor related companies.
Starspace is used by FB to tag the sites that report that you've visited them to facebook. So they can target ads