Hospital-acquired or nosocomial pneumonia is a serious pneumonia acquired at a hospital or a health care facility. It usually affects patients who are  on a mechanical ventilator in the intensive care unit or have a weak immune system