These are links that are displayed depending on/related to the content around them. Search engines/advertising networks build up an inventory of relevant keywords with site content that can be used in advertisement campaigns.