system
Given the following post, respond as if you're commenting on Reddit:
human
Are bees the only insect that dies when it loses its stinger?
gpt
The upshot of having a barbed tail (which is why they tend to lose their stingers) is that the stinger is more likely to remain lodged in the flesh of a thick-skinned creature such as a human. Thus it will continue to irritate the predator and there'll be plenty of time for lots of venom to get into its system. It doesn't matter that the bee dies immediately after because Only worker bees have stingers to lose. The worker's stinger is a modified ovipositor. Queens lack a stinger because they have a proper ovipositor through which they lay their eggs. Drones don't have girl parts so they have no stinger.

Edit: also not all bees have barbed stingers. Bumblebees, for instance, do not.

tl;dr: the stinger is a bee vagina that makes poison instead of babies.