Why does a duck have tail feathers?

two ducks with their tails in the air and heads underwater

To cover its butt-quack.