Nectar (a sugary liquid) is extracted from flowers and stored in the bees extra stomach. The nectar mixes with enzymes and transforms its chemical composition.
When a honeybee returns to the hive, it passes the substance to another bee by regurgitating the liquid into the other bee's mouth. This regurgitation process is repeated until the partially digested nectar is finally deposited into a honeycomb.
Once in the comb, nectar is still a liquid, the bees then fan their wings over the liquid, drying it... And there you have it, honey!