Fact 1: Pneumonia may be caused by an infection or injury of the lungs. 
Fact 2: Viral pneumonia is usually milder than bacterial pneumonia.
Viral and bacterial disease can both be caused by injury of the lungs.