Experimental Truth; Does Onion Absorb Bacteria?

Many believe that putting onion slices in the house can prevent or speed up the onset of colds; Because onions absorb environmental bacteria; But to what extent can we rely on this claim? We have heard from…