Pneumocystis jirovecii is a type of fungus that causes Pneumocystis pneumonia (PCP), primarily in individuals with weakened immune systems. Historically, this organism was considered a protozoan and named Pneumocystis carinii, but it has since been reclassified as a fungus.