The hoopoe is a striking bird, pinkish brown, with black and white wings and a tall crest. Its nest, though, smells of rotting meat.
The smell is on purpose. While nesting, the female makes a dark, foul oil in a gland near her tail. The gland is full of friendly bacteria that produce substances which kill harmful germs. A hoopoe is not a woodpecker. Its nearest relatives are the hornbills.
Scientists in Granada, in Spain, filmed nesting hoopoes and saw her paint this oil onto her eggs. The eggshells are covered in tiny pits, never seen on a bird's egg before. By hatching time, most of the pits are packed with the bacteria. The eggs turn from pale blue to a muddy brown.
It works. The more of her bacteria an egg carries, the better its chance of hatching in a dirty nest.
The chicks have their own defence. At six days old, they can squirt their droppings at anything that comes too close.
