Waterproof feathers help birds stay dry, buoyant, and insulated. Feathers are made of keratin, which resists water, and their structure traps air pockets that keep moisture away from the skin. Birds also coat their feathers with preening oil, which adds water repellency and flexibility. This combination allows birds to maintain body temperature in water and rain.