Answer: Hormones
Bees, like humans, are controlled in part by hormonal stimulation.
Bees exhibit many of the complex behaviors of vertebrates, such as foraging.