Discovery of a pyrano[2,3-b]pyridine derivative YX-2102 as a cannabinoid receptor 2 agonist for alleviating lung fibrosis. Here, CNR2 is linked to pulmonary fibrosis.