Rarely do bees sting, unless they get provoked or annoyed. Alarmed when you try to kill them, there is a chance they could use their weapon that nature has given them. Their stingers.
On the end of a worker bee’s stinger, there is a fine sharp barbed tube. When stung, poison is then injected into you.
Most people knows that a bee can only sting once. If we get stung, normally people instantly knocks the offending bee from where it has stung. This prevents the bee from being able to withdraw the barb naturally. It then dies.
If we do not pull the bee away from its body, it can sting us as much as we allow it to.