Honey has a very high sugar concentration (about 80% sugars like fructose and glucose). This creates a solution with extremely high osmotic pressure. When bacteria are exposed to this, water is drawn out of the bacterial cells by osmosis, causing them to become dehydrated and die, preventing decay.