Pneumonia is an infection that inflames the lungs and can be caused by bacteria, viruses, or fungi. It occurs when the lungs' defenses are weakened, allowing pathogens to accumulate in the lungs. Symptoms include cough, fever, and difficulty breathing. Pneumonia is classified based on location in the lungs, cause, and appearance under the microscope. Treatment involves oxygen therapy, antibiotics if bacterial, and supportive care. Prevention includes hand washing, vaccinations, and reducing indoor pollution.