Pneumocystis is primarily transmitted through the inhalation of airborne spores. This makes it highly contagious among individuals with compromised immune systems, such as those with HIV/AIDS, cancer patients undergoing chemotherapy, and organ transplant recipients. The organism can also exist as a commensal in healthy individuals, who may serve as asymptomatic carriers.