Idiopathic pulmonary fibrosis is a chronic disease that affects the tissues around the air sacs, or alveoli, in the lungs.