Lung cavities are air spaces in the lungs. They may have been created by damage to the lungs. The damage could be from radiation to the lung or serious lung diseases.