Beewolf
Beewolves (genus Philanthus), also known as bee-hunters or bee-killer wasps, are solitary, predatory wasps, most of which prey on bees, hence their common name. The adult females dig tunnels in the ground for nesting, while the territorial males mark twigs and other objects with pheromones to claim the territory from competing males.
Honey bee
The sting apparatus, including the barbs, may have evolved specifically in response to predation by vertebrates, as the barbs do not usually function (and the sting apparatus does not detach) unless the sting is embedded in fleshy tissue. While the sting can also penetrate the membranes between joints in the exoskeleton of other insects (and is used in fights between queens), in the case of "Apis cerana japonica", defense against larger insects such as predatory wasps (e.g. Asian giant hornet) is usually performed by surrounding the intruder with a mass of defending worker bees, which vibrate their muscles vigorously to raise the temperature of the intruder to a lethal level ("balling"). Previously, heat alone was thought to be responsible for killing intruding wasps, but recent experiments have demonstrated the increased temperature in combination with increased carbon dioxide levels within the ball produce the lethal effect. This phenomenon is also used to kill a queen perceived as intruding or defective, an action known to beekeepers as 'balling the queen', named for the ball of bees formed.