Bacterial pneumonia is a type of lung infection that’s caused by bacteria. Anyone can get pneumonia, but you have a higher risk for it if you’re over the age of sixty-five or have a weak immune system.