Pneumonia is an infection in one or both lungs. It can be caused by bacteria, viruses, or fungi. Bacterial pneumonia is the most common type in adults. The most common symptoms of pneumonia include coughing, fever, sweating, chills, shortness of breath and chest pain.