<sigh> Let me type real slowly here. A person gets sick from some type of bacteria, virus or fungus. If the person has a weakened immune system, bad health or some other problem, the bacteria can cause an inflammation of the lungs. Pneumonia.
Doctors classify bacterial pneumonia based on whether it developed inside or outside a hospital.
Community-acquired pneumonia (CAP): This is the most common type of bacterial pneumonia. CAP occurs when you get an infection after exposure to bacterial agents outside of a healthcare setting. You can get CAP by breathing in respiratory droplets from coughs or sneezes, or by skin-to-skin contact.
Hospital-acquired pneumonia (HAP): HAP occurs within two to three days of exposure to germs in a medical setting, such as a hospital or doctor’s office. This is also called a “
nosocomial infection.” This type of pneumonia is often more resistant to antibiotics and more is difficult to treat than CAP.