Heterorhabditis bacteriophora is a species of entomopathogenic nematode known commonly as beneficial nematodes. They are microscopic and are used in gardening as a form of biological pest control. They are used to control ants, fleas, moths, beetles, flies, weevils, and other pests.