Problems with the lungs can cause a variety of types of chest pain. These are common causes of chest pain: Pleuritis. Also known as pleurisy, this condition is an inflammation or irritation of the lining of the lungs and chest. You likely feel a sharp pain when you breathe, cough, or sneeze.