Pears were a type of fruit.
When the Seventh Doctor turned himself into John Smith, he left instructions for Bernice Summerfield, one of which was to not let him eat pears, as he did not like them and did not want to wake up tasting that. (PROSE: Human Nature)
The Twelfth Doctor also warned Clara not to eat pears as they were too "squishy" and always made your chin wet, just before he lost his memories of her. He stated that it was extremely important, and told her to write it down. (TV: Hell Bent) The Twelfth Doctor later gave his future self some advice before regenerating, one of which was "never, ever, eat pears" (TV: Twice Upon a Time)
By the 67th century, Gifftan culture confused fruits such as pears and avocados for a legendary Earth hero called Avocado Pear. Such meant that Yoss Inkl named his son Avocado in honour of the humans Ryan Sinclair and Graham O'Brien who assisted him during his birth. (TV: The Tsuranga Conundrum)
Behind the scenes Edit
In a deleted scene from Human Nature, when the Tenth Doctor turned himself into John Smith, he left instructions for Martha Jones, one of which was to not let him eat pears, as he did not like them and did not want to wake up tasting that.