The word that is different is 'onions'. The other words (lemons, limes, oranges, mangoes, grapes, bananas, pears) are fruits, while onions are vegetables.
Sentence: Onions are vegetables.