Background

The adoption of healthy lifestyles has been widely recognized as crucial to mitigating the economic and medical implications associated with various diseases [1, 2]. According to the American Heart Association, lifestyle factors mainly included physical activity, nicotine exposure, sleep health, Body Mass Index (BMI), diet habits, and more [3]. Previous studies have revealed that smoking, physical inactivity, poor diet, and heavy alcohol consumption result in 60% of premature mortality and reduce life expectancy by 7.4–17.9 years [4, 5]. Furthermore, it has been demonstrated that unhealthy lifestyles significantly increase the risk of coronary heart disease, hypertension, diabetes, cancer, and cardiovascular disease [6]. Therefore, it is imperative to actively guide and encourage individuals to make changes to unhealthy lifestyles in order to improve the overall quality of human life.

Simultaneously, ambient air pollution has been closely linked to human health and has been identified as a contributor to the global burden of disease, as outlined in the 2019 Global Health Guidelines [7]. It has been estimated that in 2018, 6.0% of all global deaths were caused by ambient air pollution [8]. Studies have revealed that long-term exposure to air pollutants is associated with an increased risk of all-cause and cause-specific deaths [9,10,11]. However, previous studies have mainly focused on examining the relationship between a single air pollutant and mortality [12, 13]. It is crucial to note that in reality, humans are often exposed to multiple air pollutants simultaneously, making it essential for us to consider the combined effects of multiple pollutants on mortality. Latent profile analysis (LPA) is a flexible, model-based clustering technique that can identify subtypes of homogeneous potential classes or subgroups within a large heterogeneous population [14]. To the best of our knowledge, recent studies using LPA to classify individuals based on air pollution are scarce.

Extensive research has demonstrated an association between mixtures of pollutants and all-cause mortality [11, 15, 16], while other studies have established a link between lifestyle factors and mortality rates [17,18,19,20,21]. Nevertheless, there remain knowledge gaps that need to be addressed. Firstly, longitudinal studies that examine the combined relationship between lifestyles, air pollution, and all-cause mortality are insufficient. Secondly, research on the interactions of lifestyles and air pollution with health outcomes is inadequate. Furthermore, it remains unclear whether these findings are consistent across subgroups of different age, gender, ethnicity, and education level.

We conducted a population-based prospective cohort study to investigate the potential correlation between air pollution, comprising particle matter (PM2.5, PM10, PM2.5−10), nitrogen dioxide (NO2), and nitrogen oxides (NOx), and various lifestyle factors, including smoking, alcohol consumption, diet, sleep, and physical activity, in relation to all-cause mortality risk. Furthermore, we aimed to explore whether this relationship was modified by different subgroups.

Methods

Study design and population

This study was conducted utilizing the UK Biobank, which received approval from the North West Multicenter Research Ethics Committee. The UK Biobank is a comprehensive biomedical database and research resource containing in-depth genetic and health information from half a million UK participants. The participants were recruited from 22 centers in England, Wales, and Scotland between 2006 and 2010, and were aged between 37 and 73 [22]. The health information provided by the participants was collected through touchscreen questionnaires, verbal interviews, physical measures, and biological samples.

For this study, participants with missing information on lifestyle factors such as smoking (N = 2950), diet (N = 82,340), physical activity (N = 66,647), and sleep quality (N = 54,301) were excluded. After these exclusions, the remaining number of participants was 296,129. Additionally, participants lacking air pollution data, such as NO2 (N = 4216) and PM10 (N = 20,203), were also excluded. Finally, participants without recorded death information (N = 635) were excluded from the analysis. The final analysis included a total of 271,075 participants (Fig. 1).

Fig. 1
figure 1

Flow chart of creation of the dataset

Assessment of Lifestyle

At baseline, we collected lifestyle information and evaluated lifestyle patterns based on five modifiable factors: smoking, alcohol consumption, physical activity, diet, and sleep quality, in view of the previous studies [23,24,25,26]. Smoking was categorized as never smoked or current/previous smoker. Never smoking was considered a healthy lifestyle. For alcohol consumption, we calculated the daily intake of pure alcohol based on the average number of alcoholic drinks consumed per week, the number of grams of alcohol in each drink, then dividing it by seven. The drinks included red wine, white wine, beer, spirits, and fortified wine. Those who consumed less than 30 g of pure alcohol per day for males and less than 20 g for females were considered to adhere to a healthy lifestyle [27], while those who exceeded these limits were considered to have an unhealthy lifestyle. Regular physical activity was seen as a healthy behavior, which included ≥ 150 min of moderate physical activity, ≥ 75 min of vigorous physical activity, or ≥ 150 min of moderate-vigorous-intensity physical activity; at least 5 days a week of moderate physical activity; or vigorous exercise once a week [3]. For diet, we adopted the definition of an optimal intake of dietary components for cardiovascular health, which included the consumption of fruits, vegetables, fish, processed meats, and unprocessed meats. The target intakes for these items were based on a previous study [28]. A score of 1 was assigned for each ideal intake met, and a healthy diet was defined as the intake of at least four of these ideal dietary components [28]. We used five indicators to evaluate sleep quality, including sleep duration, chronotype, insomnia, snoring, and daytime dozing. Each healthy sleep factor was scored as 1, while unhealthy sleep factors were scored as 0. Good sleep quality was defined as a sleep score of ≥ 4 points [26]. Each lifestyle was scored as 1 if it was considered healthy and 0 if it was not. Thus, healthy lifestyles were associated with higher scores, ranging from 0 to 5. Finally, lifestyles were divided into unhealthy (0–1 score), general (2–3 score), and healthy (4–5 score) categories. Additional File 1: Table S1 provides specific details of lifestyle factors.

Ascertainment of air pollution

Land Use Regression (LUR) models were developed from the European Study of Cohorts for Air Pollution Effects project to estimate annual average PM2.5, PM10, and PM2.5−10, NO2, and NOx [29]. In this study, air pollution levels from 2010 were utilized as individual exposure levels. Subsequently, a LPA of the air pollution data was conducted to yield a new potential variable. This resulted in the identification of three latent levels that respectively represented comprehensive high, moderate, and low air pollution patterns, with detailed information provided in Additional File 1: Table S2 and Fig. S1.

Assessment of outcome

The study outcome was all-cause mortality. Death certificates were obtained from the National Health Service (NHS) Information Centre (England and Wales) and the NHS Central Register (Scotland) [30]. Participants were followed from the time of enrollment in the UK Biobank Study until death or until March 2023, whichever occurred first.

Assessment of covariates

According to existing studies [25, 29], several potential confounders were taken into account, including age (continuous), gender (male and female), ethnicity (white and non-white), education level (college or university degree and other), income (less than 31,000 € and greater than 31,000 €), BMI (18.5–24.9, < 18.5, 25.0-29.9, ≥ 30), depression (yes and no), dementia (yes and no), diabetes (yes and no), cancer (yes and no), cardiovascular disease (yes and no), and respiratory disease (yes and no).

Statistical analyses

Study participants’ characteristics were presented as mean values with standard deviations (SD) for continuous variables and as percentages for categorical variables. LPA was employed to examine patterns of multiple air pollutants, with five latent profile models performed. The appropriate number of subgroups was determined based on a range of criteria including Aikaike’s Information Criterion (AIC), Bayesian Information Criterion (BIC), adjusted Bayesian Information Criterion (aBIC), Entropy, Lo-Mendell Rubin Likelihood Ratio Test (LMRT), and Bootstrap Likelihood Ratio Test (BLRT). A model was considered a better fit with smaller AIC, BIC, and aBIC values [31]. The larger the entropy value, the more accurate the class classification, with values ≥ 0.8 indicating a good profile solution [32]. Schoenfeld residuals confirmed the proportionality of hazards assumption, and Cox proportional hazards regression models were used to estimate hazard ratios (HRs) and 95% confidence intervals (CI). The modeled estimates were adjusted for factors such as age, gender, ethnicity, education level, income, BMI, depression, dementia, diabetes, cancer, cardiovascular disease, and respiratory disease. Missing variables were imputed using multiple imputation. Non-linear relationships were determined using restricted cubic spline curves with three knots to describe the relationship between air pollution and all-cause mortality.

To investigate the association between air pollution and lifestyle with all-cause mortality, hazard ratios and 95% confidence intervals were calculated. Meanwhile, lifestyle factors, including smoking, diet, alcohol consumption, physical activity, and sleep quality, and air pollution, including NO2, NOx, PM2.5, PM10, and PM2.5−10, were respectively investigated for their relationship with mortality risk.

We conducted a stratified analysis based on the levels of air pollution to examine the association between lifestyles and all-cause mortality across different air pollution subgroups. To assess the multiplicative interaction effect, we included interaction terms between air pollution (low, moderate, high) and lifestyles (unhealthy, general, healthy). Additionally, we further investigated the relationship between all-cause mortality and NO2, NOx, PM2.5, PM10, and PM2.5−10 among distinct lifestyle subgroups, with these five pollutants analyzed as continuous variables.

To assess the effect of grouping factors on the results, we carried out stratified analyses by age (< 60 and ≥ 60), gender (male and female), ethnicity (white and not-white), education level (college or university degree and other), income (less than 31,000 € and greater than 31,000 €).

To assess the robustness of our findings, we conducted five sensitivity analyses. Firstly, we excluded participants with missing covariate data. Secondly, we dichotomized each of the five categories of air pollution into high and low based on the median. Thirdly, we incorporated baseline BMI into the lifestyle variable. Fourthly, we excluded participants with a history of diabetes, cancer, cardiovascular disease, or respiratory disease at baseline. Fifthly, we excluded individuals who passed away during the initial three years of follow-up.

All statistical analyses were carried out with R software version 4.0.2 and Mplus version 7, and statistical significance (two-sided) was defined as P value < 0.05.

Results

Baseline characteristics of the participants

Table 1 presents the participant characteristics. Out of the 271,075 participants, 62,595 (23%) had an unhealthy lifestyle, 166,170 (61%) had a general lifestyle, and 42,310 (16%) had a healthy lifestyle. The proportion of low air pollution was 193,578 (71%), followed by 22,102 (8%) with moderate air pollution and 55,395 (21%) with high air pollution. For those with a healthy lifestyle, the mean age was 56.50 ± 8.33, 36.5% were male, 92.9% were White, 40.4% had a college or university degree, 51.0% had an income ≥ 31,000€, 39.9% had a normal BMI, 22.8% had cancer, 22.7% had cardiovascular disease, and 8.2% had respiratory disease. Among participants exposed to high air pollution, the mean age was 55.85 ± 8.24, 45.8% were male, 89.9% were White, 39.0% had a college or university degree, 46.5% had an income ≥ 31,000 €, 40.9% had a normal BMI, 22.6% had cancer, 29.4% had cardiovascular disease, and 8.8% had respiratory disease.

Table 1 Baseline characteristics of participants from UK Biobank according to lifestyle and air pollution (n = 271,075)

Associations of lifestyle with all-cause mortality

The median follow-up duration was 13.9 years, and 21,602 participants died during the study period. The findings in Table 2 show people with unhealthy lifestyles have a significantly enhanced risk of death compared to people with general lifestyles before and after covariate adjustment (HR = 1.513, 95% CI, 1.469–1.558; HR = 1.315, 95% CI, 1.277–1.355), while people with healthy lifestyles have a significantly lower risk of death (HR = 0.735, 95% CI, 0.703–0.768; HR = 0.821, 95% CI, 0.785–0.858). Upon analyzing the five lifestyle variables separately, the results indicated that, after accounting for covariates, never smoking (HR = 0.690, 95% CI, 0.671–0.710), a healthy diet (HR = 0.924, 95% CI, 0.886–0.964), adequate physical activity (HR = 0.773, 95% CI, 0.751–0.795), and good sleep quality (HR = 0.894, 95% CI, 0.869–0.920) were all significantly correlated with all-cause mortality.

Table 2 Associations between lifestyle and all cause mortality

Associations of air pollution with all-cause mortality

Table 3 illustrates that high air pollution increased the risk of all-cause mortality. Specifically, compared to low air pollution, the difference between moderate air pollution and mortality was not statistically significant before and after covariate adjustment (HR = 0.981, 95% CI, 0.933–1.031; HR = 0.993, 95% CI, 0.945–1.044). Conversely, after adjusting for covariates, individuals exposed to high air pollution were independently associated with a higher risk of death compared to those exposed to low air pollution (HR = 1.162, 95% CI, 1.124–1.201). Similarly, the five indicators of air pollution were analyzed separately, revealing a significant association between all-cause mortality and NO2 (HR = 1.010, 95% CI, 1.008–1.012), NOx (HR = 1.005, 95% CI, 1.004–1.006), PM2.5 (HR = 1.069, 95% CI, 1.056–1.083), and PM10 (HR = 1.017, 95% CI, 1.010–1.024) after adjustments for covariates. Additionally, a multiple-adjusted restricted cubic spline with three knots was used to describe the relationship between air pollution and all-cause mortality. The findings indicated NOx, PM10, and PM2.5−10 had a nonlinear relationship with all-cause mortality (p for nonlinearity < 0.05), whereas NO2 and PM2.5 exhibited an approximately linear distribution with all-cause mortality (p for nonlinearity > 0.05) (Fig. S2).

Interaction analysis of lifestyle and air pollution with all-cause mortality

No statistically significant interaction was identified between lifestyle and air pollution concerning all-cause mortality (P for interaction > 0.05; as illustrated in Table 4). In the air pollution subgroup, a healthy lifestyle was associated with a lower risk of all-cause mortality compared to a general lifestyle. For instance, in areas with high air pollution levels, individuals with healthy lifestyles had a lower mortality risk (HR = 0.772, 95% CI, 0.697–0.856) than those with general lifestyles; similar results were observed in areas with moderate (HR = 0.710, 95% CI, 0.602–0.838) and low (HR = 0.852, 95% CI, 0.809–0.897) air pollution. Conversely, an unhealthy lifestyle was associated with a higher risk of all-cause mortality across all air pollution levels.

Table 3 Associations between air pollution and all cause mortality
Table 4 Associations of lifestyle with all cause mortality by air pollution

An examination of the connection between air pollution and all-cause mortality within various lifestyle subgroups, as presented in Table 5, revealed that the association between the five types of air pollution and all-cause mortality failed to yield significant results within the healthy lifestyle group (p > 0.05). Conversely, the relationship between the five types of air pollution and all-cause mortality was statistically significant for both general and unhealthy lifestyles. Additionally, the correlation between PM2.5 and mortality weakened as lifestyles became healthier, although this difference was deemed insignificant within the realm of healthy lifestyles.

Table 5 Associations of air pollution with all cause mortality by lifestyle

Subgroup and sensitivity analysis

The stratified analysis, based on age, gender, ethnicity, education level, and income, was conducted, and the results are presented in Additional File 1: Table S3. The analysis revealed that the relationship between lifestyle and all-cause mortality was more pronounced in males and younger individuals in both cohorts, with a significant interaction (P < 0.02). Furthermore, Additional File 1: Table S4 indicated that air pollution and all-cause mortality did not notably vary across subgroups. Overall, the subgroup analyses were consistent with the main analysis. Additionally, we conducted five sensitivity analyses. All associations remained significant and consistent with the overall study findings, indicating the robustness of our results, as presented in Additional File 1: Table S5-S8.

Discussion

In this large cohort of more than 270,000 participants, we found that, in terms of lifestyles, healthy lifestyles were associated with a reduced risk of all-cause mortality, in contrast to general lifestyles, while unhealthy lifestyles were significantly associated with an increased risk of all-cause mortality. In terms of air pollution, high air pollution exposure, including NO2, NOx, PM2.5, and PM10, was positively associated with the risk of all-cause mortality. Moreover, we found that the strength of the association between unhealthy lifestyles and mortality risk varied across different air pollutant subgroups, with stronger associations observed in subgroups with lower levels of air pollution. Finally, a range of subgroup and sensitivity analyses reinforced the robustness of our findings.

Consistent with previous studies [17, 33,34,35,36], our study reveals a significant correlation between lifestyle and all-cause mortality. Factors that contribute to protecting against mortality include never smoking, a healthy diet, sufficient physical activity, and good sleep quality, all of which have been confirmed by multiple studies [25, 37,38,39]. Smoking exhibits the strongest association with mortality, likely attributable to the nicotine it produces, which elevates inflammation and stimulates oxidative stress. In our study, alcohol consumption did not show a significant relationship with all-cause mortality, consistent with Zhang et al. [20]. However, one study observed that light to moderate drinkers demonstrated a healthier lifestyle than non-drinkers [40]. Furthermore, research suggests wine contains biologically active compounds such as anthocyanins and resveratrol that might regulate lipid metabolism, reduce oxidative stress, and mitigate against cancer [41]. Given these conflicting findings, the relationship between alcohol consumption and the risk of death merits further confirmation. Our study suggests that, in addition to never smoking, a healthy lifestyle is more protective against mortality than just considering lifestyle factors, because multiple lifestyle factors may have a synergistic effect. Consequently, we believe it is essential to emphasize maintaining a variety of healthy lifestyles when promoting health.

Our study has revealed a significant correlation between high levels of atmospheric pollution and all-cause mortality. The relationship between NO2, NOx, PM2.5, PM10, and all-cause mortality was statistically significant, consistent with previous research findings [42,43,44,45]. Notably, PM2.5 was found to have the strongest association with mortality, which is consistent with prior estimates [15, 46]. This robust association can be attributed to two primary factors. Firstly, the small size of PM2.5 particles means that they can remain suspended in the atmosphere for protracted periods of time and hence increase the likelihood of causing inhalation damage to the lungs. Secondly, due to the small size of particles within PM2.5, they are capable of absorbing toxic substances in the air before penetrating deeply into the lungs [47]. Furthermore, our findings also suggest that PM10, containing primarily natural elements instead of heavy metals, has relatively less toxicity due to its small total surface area [48]. It is noteworthy, however, that our study demonstrated that the mortality risk associated with combined exposure to multiple air pollutants is stronger than that of individual exposure. Nonetheless, the exact mechanism underpinning the relationship between exposure to mixed air pollutants and mortality is not yet fully understood. We conjecture that synergistic or additive effects may occur when exposed to multiple air pollutants [49], resulting in more severe respiratory tract damage and inflammatory responses than from individual exposure alone.

We discovered that the correlation between lifestyle and mortality risk remained robust across various subgroups of air pollutants. After categorizing by lifestyle, the associations between the five air pollutants and all-cause mortality were insignificant in the healthy lifestyle group. Conversely, in the other two lifestyle groups, significant associations were observed between the air pollutants and all-cause mortality. Thus, we speculate that individuals leading a healthier lifestyle may have relatively stringent requirements for their residential and work environments and may be more mindful of their exposure to harmful pollutants in their daily lives. Furthermore, subgroup analyses indicated that the protective impact of a healthy lifestyle on mortality risk was more evident among individuals under 60 years of age and in males. Various explanations may account for this possibility. Firstly, older individuals often have more underlying medical conditions, and thus the effect of an improved lifestyle may be less impactful than in younger individuals. Therefore, the protective influence of a healthy lifestyle on the risk of death in individuals under 60 years of age will be more conspicuous. Secondly, our analysis revealed that among the five lifestyle factors, the protective impact of non-smoking was the most robust, and in reality, a higher prevalence of smoking is found in males than females, while males are more active than females. Thus, adopting a healthier lifestyle, such as quitting smoking and engaging in more physical activity, will render the relationship between lifestyle and death risk more pronounced in males.

To the best of our knowledge, few studies have used LPA to categorize air pollutants with the aim of investigating the association between lifestyle, air pollution, and the risk of all-cause mortality, as well as exploring the interactions between lifestyle and air pollution. Furthermore, this study had a large sample size, longitudinal follow-up, rigorously defined variables, and the different subgroups and characteristics of the analysis have consolidated our findings. However, there are several limitations to consider. Firstly, lifestyle factors were self-reported, and thus, measurement errors may be unavoidable. Secondly, while we included five different lifestyles in our primary analysis, with BMI added in our sensitivity analysis, there may be additional behavioral factors that can potentially impact the results but were not taken into consideration. Thirdly, some previous studies suggest that exposure to ozone, carbon monoxide, and sulfur dioxide is linked to an increased risk of mortality [46, 50, 51]; however, such data was not available in the UK Biobank study. Fourthly, we used average air pollution concentrations from 2010 for our analysis and did not account for changes in pollution levels over time, though prior research indicates that air pollution levels have remained relatively stable during the period studied by the UK Biobank [52]. Lastly, while we made adjustments for various potential confounders, residual confounders from unmeasured or unknown variables may still have an impact on our analysis.

Conclusions

Unhealthy lifestyles and exposure to air pollution were significantly associated with an increased risk of all-cause mortality, while healthy lifestyles significantly reduced the risk of mortality. Furthermore, there exists a potential cumulative impact of several air pollutants on mortality. As the density of air pollution decreased from high to low, the interrelation between unhealthy lifestyles and mortality risk became more significant. These discoveries underscore the significance of coordinated measures to enhance air quality and adopt a healthy lifestyle to minimize the likelihood of death.