If a campaigning politician wants to pander to a crowd of pet owners, he might deliver a speech while embracing his own pet poodle. To pander is to appease or gratify, and often in a negative, self-serving way.
The word pander began its infamous history as the name of various characters. Pandaro was a character in Boccaccio’s Filostrato. Pandarus was a character in Chaucer’s Troilus and Criseyde, as well as in Shakespeare’s Troilus and Cressida. These literary works all tell the tale of star-crossed lovers, and the namesake of pander is, essentially, a go-between whose motives don't seem entirely pure.
Primary Meanings of pander
arrange for sexual partners for others
someone who procures customers for whores (in England they call a pimp a ponce)
yield (to); give satisfaction to
v yield (to); give satisfaction to
put into a good mood
engage without restraint in an activity and indulge, as when shopping
sow one's oats, sow one's wild oats
live promiscuously and self-indulgently