In public health, spirometry is used for screening and early detection of lung diseases, especially in high-risk populations such as smokers or individuals exposed to occupational hazards. This allows for early intervention and management, potentially reducing morbidity and mortality associated with chronic respiratory conditions.