Pneumocystis jirovecii, formerly known as a protozoan but now classified as a fungus, causes Pneumocystis pneumonia. It was previously called P. carinii but is now known as P. jirovecii. The fungus forms rounded cysts containing multiple nuclei that can spread from the lungs of infected individuals through the air. Pneumocystis pneumonia develops when both cellular and humoral immunity are defective, allowing the organisms to multiply uncontrolled in the lungs and cause illness. Diagnosis involves examining samples from the lungs under a microscope or using PCR to detect the organism's DNA. Treatment is with the antibiotic TMP/SMX administered orally or intravenously.