In laboratory tests, bees were more apt to remember the location of flowers which had low concentrations of caffeine in their nectar. The caffeine acted as a memory stimulant in the bees.
This 'drugging of the Bee' is beneficial to the plant - causing it to bear more fruit and seeds. Plants which produce caffeine laced nectar are coffee plants and citrus plants.