Bathing is a vital part of feather maintenance. Water helps to loosen up dirt and other debris that has worked its way into the feathers. Once freed of dirt, the feathers are easier to preen. During preening, birds rearrange their feathers and dispense oil from the preen gland, ensuring that their feathers remain waterproof. This also traps an insulating layer of air beneath, helping to keep the bird warm.