Fleas, like many other pests, despise the taste and odour of vinegar, therefore it will help you get rid of them.