Other diseases such as tuberculosis (TB) and some types of pneumonia often leave scars on the lung. This scarring can increase the risk of developing lung cancer.People with diseases from breathing in certain minerals such as silicats (developing silicosis) also have a higher risk of lung cancer.