Influenza causes pneumonia either directly, by a massive viral invasion of the lungs, or indirectly—and more commonly—by destroying certain parts of the body’s defenses and allowing so-called secondary invaders, bacteria, to infest the lungs virtually unopposed.