Pneumonia is inflammation of the lungs, usually caused by bacterial or viral infections.