- Fungal infections of the lung (pneumonia) can be caused by molds, such as Aspergillus and Zygomycetes, but these causes are often difficult for a doctor to diagnose. Early and accurate diagnosis of these infections can help doctors to select the correct medicines for proper treatment.