Scientists at the Whitehead Institute discovered how lungs manage the tricky job of fighting infections while avoiding harmful inflammation.