Why do birds swell their feathers in winter?

By swelling their feathers, the birds provide air pockets round their body. The air is trapped in the swelled feathers which provides the birds a heat insulation from surrounding.