Honeybees can do both. When they sting they inject a cocktail of poisons into your body. To summarize bee venom is a nasty, crafty cocktail of chemicals that the bee uses with the direct intention of either killing you or teaching you a lesson for life.
We now know that some bees sting, and all bees bite. Surprisingly bees that bite can also carry chemicals in their mouths and on their legs, which, when in contact with eyes and mucous membranes will actually cause a stinging sensation.