Lung nodules with cavities may be related to factors such as tuberculosis, fungal infection, lung cancer and lung abscess. 1. Tuberculosis: Tuberculosis can be caused by the infection of Mycobacterium tuberculosis carried in sputum, which can show symptoms such as coughing, blood in sputum, etc. The lungs can be proliferated, resulting in nodules or even cavities in the lungs. 2. Fungal infection: if the lungs are infected by fungi such as Aspergillus, Cryptococcus, etc., it will have serious effects on the airways of the lungs, leading to the appearance of cavities and nodules in the lungs. 3. Lung cancer: if patients are affected by smoking, air pollution, dietary stimulation and other factors for a long time, it can lead to lung cancer. When lung cancer develops to the middle or late stage, the lung nodules will gradually increase, the lung tumors will show irregular changes, and the lungs are often accompanied by the formation of cavities. 4. Lung abscess: Lung abscess is usually related to pollutants invading the lungs, such as the appearance of unclean mouth, sinusitis, periodontitis, etc., which can lead to bronchial obstruction and immunity decline, etc. If the lungs are polluted for a long period of time, it can lead to lung abscess. If the abscess destroys the bronchial tubes, and the symptoms of coughing are serious, it can lead to lung nodules and the appearance of cavities. If the lung nodules with cavities can not be effectively controlled, you should go to the hospital in time for examination and symptomatic treatment.