Honeybee policing.
While the queen (designated by the red dot on her back) typically lays the eggs in a honeybee colony, workers also attempt to lay unfertilized eggs (which will produce haploid males). When an egg laid by a worker is detected by worker police by the lack of egg-marking pheromone, it is eaten or destroyed.