Answer: Carboxylic acid
Explanation: Bee stings are basically venomous in nature and they do create excruciating pain because they contain Formic acid which belongs to the carboxylic acid group.
Formic acid has a pKa of 3.5 approximately. Thus it is moderately acidic in nature . That is why it is recommended to treat it with some kind of alkali like Baking soda or toothpaste etc.
The structure of the formic acid is displayed in the image attached.