These are house/nurse bees on "capped comb" inside a hive. Capped comb is honey bees while they are in their cocoon. On the bottom left, you can see a bee with her rear end sticking out. The first thing a female bee does after hatching is clean out her cocoon. Male bees serve no purpose inside the hive.