It's an important part of the bird's ability to maintain its body temperature.
Air is a poor conductor of heat, so the air trapped among the feathers
prevents the loss of heat in cold atmosphere, and prevents overheating
in hot atmosphere. Much like our wearing several layers of clothing.