The female hornbill lays her eggs in a hole in a tree. Then, helped by her mate, she seals herself in, covering the entrance with droppings and mud. Only a small slit is left, through which the male gives her food. This keeps the nest safe from snakes until the chicks are grown enough to leave the nest, and learn how to fly.