Bigger yolks and more fat.
A duck egg is larger than a chicken egg, and more of it is yolk. The yolk carries more fat, and the white has a bit more protein. In baking, that extra fat makes cakes moister and richer, and the stronger whites help sponges and meringue-based batters rise higher.
Duck eggs also have thicker shells and membranes, which helps them stay fresh a little longer. They taste much like chicken eggs, slightly richer, and the yolks are often a deep orange.
If you swap them into a recipe, go by weight rather than count. A large chicken egg weighs about 50 grams without its shell, and a duck egg is often 70 grams or more. Using duck eggs one for one can leave a batter too wet and eggy.
One caution: duck egg whites can be harder to whip into stiff peaks. A pinch of cream of tartar helps.