Here’s a frame of bees hard at work making a new queen, seen in the peanut shaped cell on the right end of the frame.
When a hive has no queen, they will make adjustments to the feeding and construction of the cell around a young egg, feeding it excess royal jelly causing it to develop into a queen bee. She’ll hatch out and take over the duties of laying 2000-3000 eggs a day.