Pneumonia is an infection of the lung. This section reviews the anatomy of the respiratory system and the role of the immune system in preventing lung infections.