Basil has a pungent smell that helps keep pests like flies and mosquitoes at bay.