 Some beneficial weeds repel insects and other pests through their smell, for example alliums and wormwood.Some weeds mask a companion plant's scent, or the pheromones of pest insects, as with ground ivy, as well as oregano and other mints.Some also are unpleasant to small animals and ground insects, because of their spines or other features, keeping them away from an area to be protected.