Beeswax is a product that comes from the endocrine secretion of the bee (this molecule is the transformation of honey sugars into animal fats) from the wax glands located in the bee’s abdomen.
To form and secrete this product, they gather in the immediate vicinity of where the honeycomb is being built, forming a chain of bees and simply holding on to one another with their legs in a cluster. While doing so, they wait for the hive bees to bring them honey, which they swallow in large quantities. After this intake of honey, wax scales form in the abdomen and come out; the other bees collect them and knead them with their mandibles, and with their engineering they finally complete their work of building the honeycomb.