Cucumbers Beetles aren't fond of fennel so planting some near Cukand other susceptible vegetables helps reduce the risk of infestation by these pests. Fennels' flowers attract beneficial insects like parasitic wasps that hunt for harmful Cukes Beetles, Cucumbers, and other harmful pests.