Pneumonia is an infection or inflammation of the lungs caused by bacteria, viruses, fungus or other microbes from inhaled dust, chemical irritants, food or aspiration.
Germs are normally found in the throat. If the immune system is weak, for example in HIV infection, diabetes and cancer, the germs can enter and multiply in the lungs causing pneumonia.