Answer:
Ducks have a special gland positioned near their tails, called the preen gland. This gland produces an oil, which ducks rub over their feathers with their beaks to maintain their waterproof effect. This oil creates a protective barrier that stops feathers becoming waterlogged.