Dear student
Onions act as olfactory indicators as they donot change their odour in acidic medium.
When we rub our hands against lemon, the smell of onion does not vanish. The strong aroma of lemon just makes the smell of onions little lighter. It does not get removed totally.
Regards