Flamingos can sleep in ponds that freeze around their legs at night, drink boiling water, and survive conditions that expose them to arsenic and poisonous gases.