At the base of the wren's tail on its back is the oil gland. All birds have oil glands. They swipe the gland with their bill, and then transfer the oil to their feathers while they preen. This keeps their feathers clean and waterproof.