Pneumonia is an inflammatory condition of the lung primarily affecting the alveoli (air sacs). It can be caused by bacterial, viral, or fungal infections. The liver filters blood, the heart pumps blood, and the eyes are for vision - none of these are directly affected by pneumonia.