When honey bees become alarmed (usually in response to a perceived threat to the hive) they emit the strong-smelling pheromones isopentyl acetate and 2-heptanone.

The alarm pheromone emitted when a bee stings has a smell like bananas