It is most often caused by Histoplasma capsulatum, Blastomyces, Cryptococcus neoformans, Pneumocystis jiroveci (pneumocystis pneumonia, or PCP), and Coccidioides immitis. Histoplasmosis is most common in the Mississippi River basin, and coccidioidomycosis is most common in the Southwestern United States. The number of cases of fungal pneumonia has been increasing in the latter half of the 20th century due to increasing travel and rates of immunosuppression in the population. For people infected with HIV/AIDS, PCP is a common opportunistic infection. Parasites
A variety of parasites can affect the lungs, including Toxoplasma gondii, Strongyloides stercoralis, Ascaris lumbricoides, and Plasmodium malariae. These organisms typically enter the body through direct contact with the skin, ingestion, or via an insect vector. Except for Paragonimus westermani, most parasites do not specifically affect the lungs but involve the lungs secondarily to other sites. Some parasites, in particular those belonging to the Ascaris and Strongyloides genera, stimulate a strong eosinophilic reaction, which may result in eosinophilic pneumonia. In other infections, such as malaria, lung involvement is due primarily to cytokine-induced systemic inflammation. In the developed world, these infections are most common in people returning from travel or in immigrants. Around the world, parasitic pneumonia is most common in the immunodeficient. Noninfectious
Idiopathic interstitial pneumonia or noninfectious pneumonia is a class of diffuse lung diseases. They include diffuse alveolar damage, organizing pneumonia, nonspecific interstitial pneumonia, lymphocytic interstitial pneumonia, desquamative interstitial pneumonia, respiratory bronchiolitis interstitial lung disease, and usual interstitial pneumonia. Lipoid pneumonia is another rare cause due to lipids entering the lung.
This may include, among others: empyema, lung abscess, bronchiolitis obliterans, acute respiratory distress syndrome, sepsis, and worsening of underlying health problems. Clinical prediction rules
Clinical prediction rules have been developed to more objectively predict outcomes of pneumonia. These rules are often used to decide whether to hospitalize the person. Pneumonia severity index (or PSI Score)
CURB-65 score, which takes into account the severity of symptoms, any underlying diseases, and age

Pleural effusion, empyema, and abscess
In pneumonia, a collection of fluid may form in the space that surrounds the lung. Occasionally, microorganisms will infect this fluid, causing an empyema. To distinguish an empyema from the more common simple parapneumonic effusion, the fluid may be collected with a needle (thoracentesis), and examined. If this shows evidence of empyema, complete drainage of the fluid is necessary, often requiring a drainage catheter. In severe cases of empyema, surgery may be needed. If the infected fluid is not drained, the infection may persist, because antibiotics do not penetrate well into the pleural cavity. If the fluid is sterile, it must be drained only if it is causing symptoms or remains unresolved.In rare circumstances, bacteria in the lung will form a pocket of infected fluid called a lung abscess. Lung abscesses can usually be seen with a chest X-ray but frequently require a chest CT scan to confirm the diagnosis. Abscesses typically occur in aspiration pneumonia, and often contain several types of bacteria. Long-term antibiotics are usually adequate to treat a lung abscess, but sometimes the abscess must be drained by a surgeon or radiologist.