Beehive

Bee hives are craftable versions of bee nests.

Obtaining
If broken with a tool enchanted with Silk Touch, the bees will remain inside. Otherwise, they will come out of the hive.

Bee housing
The hives can house up to 3 bees at a time. Bees will fly into the nest at night.

Harvesting
Bee hives have a honey level. There are 5 levels, with level 5 being the level which produces either honeycomb or honey bottles.

Pollenated bees will fly into bee hives and will increase the honey level by 1. When the honey level has reached 5, the blocks appearance will change to be full of honey, and will produce dripping honey particles if suspended above the ground. From here, the player can either use shears on the block to collect up to 3 honeycombs, or use a glass bottle on the block to collect a honey bottle. If there are bees inside the hive when harvesting it, the bees will fly out of the block and sting the player. This can be prevented however. If there is a lit campfire directly underneath the hive, the bees inside will not become aggravated when harvesting it.

ID
Java Edition: Bedrock Edition:

Block Entity
A bee hive has a block entity associated with it that holds additional data about the block.