There are more than seven main types of pneumonia, including community-acquired pneumonia caused by bacteria and viruses. Other types include walking, aspiration, chemical, and hospital-acquired ...