Google's adverts are context-sensitive: they scan the page they are appearing on and advertise things related to that page's content, so that people viewing a website see adverts they are likely to be interested in.
Look at the advert I just spotted on this blog. Apparently Google thinks I attract cat deviants. Feed your passion? With hairballs?