The odour is unpleasant to the animal, but not to humans. Stimulates a fear based response which encourages moles to go elsewhere.
eBay