Birds build nests out of materials like twigs, leaves, mud and grass to lay and hatch eggs, with some like woodpeckers and barbets making nests inside tree trunk holes and others like tailorbirds sewing leaves together into pockets for soft grass nests, while koels lay eggs in other birds' nests and male weaver birds build nests for females to choose from.