Animal

I am a tiny insect that gives you sweet food. I live in a hive and have a painful sting. What am I?