Pneumonia is a condition that affects the lungs. It is a form of acute respiratory infection which causes inflammation of the alveoli (air sacs in the lungs). When a person suffers from pneumonia, the alveoli get filled with fluid or pus which makes it difficult to breathe and limits the intake of oxygen.