Pneumonia is an inflammation of the small air sacs of the lungs (alveoli), usually due to a viral or bacterial infection. Pneumonia is often a complication of an upper respiratory tract infection. It may involve only part of one lung or be more extensive and even involve both lungs. The common causes of pneumonia depends on the child’s age. Breastfeeding and avoiding cigarette smoke helps to prevent pneumonia.