Introduction

The way the pandemic spread to humans suggested a bidirectional process among animals’ habitats and those of humans. Human activities and the rapid restructuring of animal habitats are the reason for the initial outbreak. The survival of human beings and animals centers on environmental sustainability. However, the meat consumption rate has almost doubled in the last 50 years and is still growing, which has heightened the risk of pathogenic diseases. The human population faces pathogenic pandemics due to human–animal conflict, the increased intermingling in livestock, and the cultivation of wild animals. Extreme environmental impacts increase the likelihood of new, deadly pandemics. Human beings are disturbing wild animals’ habitats and resultingly becoming the host of new pathogenic pandemics. Global warming and climate change positively support anthropogenic activities and add to the likelihood of pandemics. The growth of the worldwide population and natural environmental exploitation also enhances the number of zoonotic pathogens. The careless behaviors of human beings disrupt the leading determinants of a healthy environment, i.e., water, air, and soil. Zhang et al. (2020) recently observed high levels of arsenic (III) with high metal pollution in water, which increases bacterial antibiotic resistance (BAR) and increases water-borne epidemiological threats to human beings to an alarming level.

Since the dawn of human civilization, pandemics and epidemics have impacted human societies with unintended consequences. The situation changed drastically for humans when one of the most deadly viruses in human history broke out, with dire consequences for humankind. In December 2019, an outbreak of the highly contagious coronavirus labeled COVID-19 suddenly emerged from Wuhan, China (Hui and Zumla 2019). The origin of SARS-CoV-2, as it is known scientifically, quickly affected several regions, causing the World Health Organization (WHO) to declare it as a global pandemic on 11 March 2020 (Azhar et al. 2019). The prolonged spread of COVID-19 has led to global consequences for human health, plus economic repercussions.

Nonetheless, the clinical representation of COVID-19 provides a deep insight into natural human history. The evolutionary history of the epidemiological syndrome caused many countries to experience its vulnerabilities, resulting in an increased mortality rate. The high efficacy of this pandemic has damaged several countries, exerting immense pressure on the global health sector. Research shows that the outbreak of this infectious bacteria has produced a particularly devastating effect on countries such as the UK, Italy, France, China, and Spain (Corman et al. 2018). The deadly characteristics of COVID-19 have had an antagonistic effect on a large population, leading to a substantial death rate. As of 16 July 2021, the worldwide cumulative confirmed COVID-19 cases were 188.93 million, and the disease had caused 4.08 million people to lose their lives (Johns Hopkins, 2021). This life-threatening pathogen has pushed the global health care industry to its breaking point, with consequences for the worldwide cumulative fatality rate.

Despite the technological advancements in the health sector in recent decades, humanity still struggles hard against the pandemic disaster. The COVID-19 vulnerability has put the world on the edge of experiencing an uncontrollable mortality rate. In such circumstances, to suspend the spreading of the disease, most countries proactively tackle the transmission of new emerging variants. The recent literature suggests the effective management of the virus through extensive lockdowns has limited its spread, thereby indirectly improving the world’s overall environmental quality. Environment quality plays an integral role in promoting a healthy lifestyle. Environmental pollution includes the emission of poisonous substances such as dirt, smoke, intoxicants, and gases (e.g., carbon dioxide and nitrogen dioxide). The emission of CO2 appears to be a dominant source in producing air pollutants. Research shows that long-term exposure to toxic environmental conditions brings enormous health risks, with a significant population dying every year due to air pollution (Manisalidis et al. 2020). CO2 is considered a frequent cause of health problems, fundamentally increasing the death ratio (Huang et al. 2017).

However, according to recent statistics, 91% of the world’s population lives in areas where minimal environmental standards are followed, as defined by the World Health Organization (WHO, 2020). Therefore, this topic has significant importance for the world’s meteorologists. Social responsibility ensures a hazard-free environment, limiting the secretion of containments such as smoke, CO2, and NO2, into the atmosphere. Substantially, many countries have started improving air quality to allow residents to live a healthy lifestyle to achieve environmental sustainability. With the increasing importance of CSR, countries are adopting green initiatives for controlling the extensive emission of toxicants. Hence, it is essential to ensure safe environmental conditions to protect the interests of the natural world, thus providing a healthy environment to preserve human lives.

Therefore, despite the disruption caused by COVID-19, the virus appears to be beneficial in enhancing worldwide atmospheric conditions. A significant decrease in air pollution has been observed during the worldwide lockdown arrangements. Research shows that, with the exponential increase in confirmed cases, governments of different countries mandated lockdown restrictions to limit the spread of the virus. Depending upon the severity of the local COVID-19 wave, governments have laid rules such as travel restrictions, social distancing, and the closure of businesses such as industries and markets.

The lockdown conditions have brought significant changes to people’s daily lives, ensuring serious implementation of WHO guidelines. By March 2020, the lockdown situation extended isolation attempts across many Western nations, including the UK, France, Germany, Italy, and Spain. However, the extension in lockdown depended upon the severity of confirmed cases across different regions. Hence, due to several lockdown intervals occurring in the UK and Spain, results are collected from those countries accordingly (i.e., 23 March 2020 to 31 December 2020 and 14 March 2020 to 31 December 2020, respectively).

The COVID-19 pandemic completely changed the societal structure and living style of many people. In addition, the worldwide movement restrictions and mandatory checks also altered the emission of greenhouse gases. This research aims to identify the influence of pollutant elements and greenhouse gas emissions during the COVID-19 period. In that period, industrial and human activities were closed; hence, the emissions should be fewer and more sustainable. Significantly, this study sheds light on the effect of COVID-19 in shaping environmental policies to gain sustained development in main cities of the world. The lockdown measures have resulted in the closure of many sources of air pollutants. Hence, the study aims to identify the impact of lockdown on carbon emissions in the UK and Spain. The research analyzes the fundamental relationship between carbon dioxide emission and COVID-19.

The research suggests that lockdown activities have been successful in minimizing the ambient level of air pollutants. The results showed that different variants of air pollution have drastically fallen during the pandemic crisis. The data gathered from the UK and Spain indicated that the prolonged period of COVID-19 has fundamentally improved air quality. The current study examines the concentrating effects of carbon dioxide on meteorological conditions, investigating the relationship between COVID-19 and environmental quality. The study focuses on identifying the impact of annual emissions of air pollutants (i.e., CO2) during COVID confinement periods. Purposely, this paper underscores the significance of maintaining the continued weather conditions, even after lifting lockdown restrictions. Hence, the study provides countries an opportunity to realize the importance of climate sustainability while recovering environmental quality.

The remainder of the research article is structured as a literature review based on current research work in this field. The following section outlines the materials and methods undertaken for the analytical method of this research. The empirical results come next. The implications of the analytical methods help to attain some specific results for directional guidance. Then, the discussion section compiles the overall impact of this research work and the solution for the problem discussed. Finally, the conclusion is based on a conclusive summary of the study and showing the practical implications to enhance the quality of the environment.

Literature review

The negative impact of COVID-19 has been observed in every single field of life except environmental quality and sustainability. The global emergency necessitated restricting people from coming out of their homes to avoid the spread of COVID-19. This pandemic emergency applied to the urgent management of myocardial infection. There was no other option but to impose the primary restrictions and precautions for coronary interventions as the direct therapeutic option. The UK government implemented restrictions starting from 24 March 2020. During the near-worldwide restrictions, all the main venues, shops, restaurants, and bars were closed in the UK. The lockdown measures were enforced under the surveillance of police officers, thereby closing all non-essential social and economic activities. The pandemic’s seriousness had increased, resulting in 2.50 million confirmed cases and 73,622 deaths (Ritchie et al. 2020). The lockdown situation in the UK during the initial COVID-19 lockdown made people understand the intensity of the disease, causing them to restrict their movements, subsequently affecting environmental conditions. Hence, the lockdown measures in the UK successfully prevented a surge in COVID cases, improving the atmospheric quality of major cities across the region in the meantime (Higham et al. 2021).

Similarly, the uncontrollable situation of COVID-19 in most European countries caused severe difficulties, with Spain experiencing the highest tier of restrictions during the first wave of COVID-19. Spain is the sixth most populous country in Europe, with a population of 47 million as of 2021, and it also strictly adopted quarantine policies. In response to the growing number of cases in Spain (i.e., 1.93 million), the Spanish government announced a temporary closure on all the non-essential activities from 14 March 2020. Aggressive measures were taken by the Spanish government, thus imposing a night-time curfew to control the spike of COVID-19 infections. The disease had a severe effect in Spain, resulting in 50,837 people losing their lives in the first wave (Ritchie et al. 2020). Research suggests that the Spanish government’s “red zone” curfew policies positively affected improving atmospheric conditions. For example, results from a recent study show that the policies imposed by the Spanish government have fundamentally improved the air quality of the region (Briz-Redón et al. 2021). Moreover, after observing the air quality data, a massive waste reduction was documented in the major areas of Spain (i.e., Madrid, Valencia, Barcelona, and Bilbao). The COVID-19 mobility restrictions have drastically affected the air pollution in Spain, resulting in 70% to 80% waste reduction (Cárcel-Carrasco et al. 2021).

Therefore, the findings indicate that the majority of Western countries have experienced a decline in air pollutants. The government initiative of imposing lockdowns has limited the spread of the highly contagious disease while also causing a decrease of pollutants such as CO2 and NO2 (EPA, 2020). Results show that the environmental conditions during the global pandemic have controlled the toxic concentration of CO2 (Rojas et al. 2021), thus improving the air quality. During the lockdowns, all social and economic activities were prohibited, as people were urged to stay in their homes. This disturbance to daily lives, transportation, and business stopped the excessive addition of air pollutants to the atmosphere. It suggests that the emission of air pollutants such as carbon dioxide depends on the use of vehicles, human movement, and economic activities. Hence, the suspension of these activities during COVID-19 has resulted in a sharp decline in carbon dioxide levels. Indeed, the preventive measures taken by different governments have produced a positive impact on the atmosphere, reducing the discharge of waste material (i.e., CO2, NO2, and SO2) across global cities. The halting of air aviation businesses has also positively contributed to environmental sustainability during the COVID-19 period. The pandemic highlighted the importance of green business practices (GBPs), and as companies worked to meet renewed regulatory COVID-safe demands, short- and long-run costly processes were jettisoned. The analytical approaches of Amankwah-Amoah (2020) and Rehman et al. ( 2021a, b) pointed out the upgrade and demand for environment-friendly aircraft with a lesser carbon emission footprint, i.e., aviation’s emission reduction schemes, carbon off-setting, and the European Union Emissions Trading System. The research findings indicated that environmental sustainability could be achieved by meeting environment-friendly commitments, reducing cost pressures and survival threats and prioritizing ecological sustainability initiatives (Ozturk et al. 2021; Rehman et al. 2021a, b).

Material and methods

Data description

We used daily time series data of carbon emission, daily new cases, daily new deaths, and lockdown to identify the impact of COVID-19 on CO2 emission. The CO2 emission is well-thought-out as the dependent variable, while daily new cases (NC), daily new deaths (ND), and lockdown are considered independent variables. The data of the dummy variable was generated according to the confinement index of 0 and 1. The digit 0 symbolically represents nationwide restriction and 1 as a regional policy that restricts an entire city of countries. The lockdown data is different for Spain and THE UK;, that’s why the spam of time series is different for both countries. The lockdown was imposed on 23 March 2020, in Spain, so all data series contains data from 23 March 2020 to 31 December 2020, while lockdown was strictly imposed on the UK on 14 March 2020, so data series of the UK covering data from 23 March 2020 to 31 December 2020. The data series are synchronized to get accurate results by employing divergent econometric methods. Data on carbon emission has been extracted from https://www.icos-cp.eu/gcp-covid19 and daily new cases and deaths obtained from the WHO (www.who.int/) while data of lockdown duration from the following websites https://www.ijidonline.com and https://commonslibrary.parliament.uk.

In this research, different econometrics tools and techniques are used to determine the relationship among CO2 emission, daily new confirm cases, daily new confirm the death, and lockdown for Spain and the UK. A flow chart of methodology can be visualized in Fig. 1, which is employed for the analytical relational purpose of variables. The augmented Dickey–Fuller (ADF) is implemented to detect the presence of unit root in the data series. The lag selection is preceded based on different criteria. After confirming stationarity of data series on the same order, the Johansen cointegration test is employed to check the long-run relationship among CO2 emission, lockdown, new daily cases, and death of COVID-19 in Spain and the UK. The vector error correction model (VECM) has been implemented to measure short-run relationships and the speed of adjustment from the short- to the long-run in individual variables. Last but not the least, the Granger causality test is used to point out the casual direction, effect, and relationship between variables. Furthermore, it’s declared cause and effect of every couple of variables.

Fig. 1
figure 1

Methodological flow chart

Unit root test

The unit root test measures the chronological integration of variables. The augmented Dickey–Fuller is renowned for determining the integration order of variables. This research employed ADF for the unit root test due to its accuracy and high support from existing literature. The fundamental equation of ADF is given below:

$$\begin{array}{c}{\Delta Y}_{t}=\alpha +{\beta }_{t}+{\rho Y}_{t-1}+\sum_{i=1}^{k}{\gamma }_{i}{\Delta Y}_{t-1}+{e}_{t}\\ \begin{array}{ccc}{ \Delta {Y}}_{{t}}={{Y}}_{{t}}-{{Y}}_{{t}-1}& and&\Delta {{Y}}_{{t}-1}={{Y}}_{{t}-1}-{{Y}}_{{t}-2}\end{array}\end{array}$$
(1)

In Eq. 1, the sign of delta (\(\Delta )\) measures a change of variables from one period of time to another period (t). Fluctuation of time period is usually based on analytical data intervals, i.e., daily, monthly, quarterly, biannually, and annually. In this research, daily data series are used for analytical purposes, so variables’ behavior and their change are based on the daily variation. It is assumed that \({{Y}}_{{t}}=({{ Y}}_{1{t}}{{ Y}}_{2{t}}{{ Y}}_{3{t}}\dots \dots {{ Y}}_{{kt}})\) is as k-dimensional stochastic time series as well as \({y}_{t}\sim I\left(1\right), each {y}_{it}\sim I\left(1\right)i={1,2},3\dots ,k\). The sign of alpha (\({\alpha }\)), beta (\(\upbeta\)), and rho (\(\uprho\)) are indicators of constant, coefficient of time trend, and several lags, respectively. The first two terms, alpha (\({\alpha }\)) and beta (\(\upbeta\)), are part of unit root calculations, and rho (\(\uprho\)) are included later to test the significance of the coefficient (MacKinnon et al. 1999; Ntshangase et al. 2016). The selection of lags is empirically determined by using log-likelihood (LL), likelihood ratio (LR), final prediction error (FPE), Akaike information criterion (AIC), Schwarz information criterion (SC), and the Hannan–Quinn information criterion (HQ) (Hatemi and Hacker 2009; Ivascu et al. 2021). After possible removal of autocorrelation among error terms and selection or rejection of null hypothesis, it can be decided either unit root present in data series (reject H0) or data series are stationary (accept H1).

Cointegration test

The cointegration test is generally employed to measure the long-run relationship between variables with a linear combination of variables. This research used the Johansen cointegration test, which will approve the stability and long-run relationship of variables. It is assumed that \({{Y}}_{{t}}=({{ Y}}_{1{t}}{{ Y}}_{2{t}}{{ Y}}_{3{t}}\dots \dots {{ Y}}_{{kt}})\) is as k-dimensional stochastic time series (Jian et al. 2019; Jisheng and Hao 2011; Zou 2018) as well as \({y}_{t}\sim I\left(1\right), each {y}_{it}\sim I\left(1\right), i={1,2},3\dots ,k\) is influenced by exogenous time series of d-dimension \({x}_{t}={{ x}}_{1{t}}{{ x}}_{2{t}}{{ x}}_{3{t}}\dots \dots {{ x}}_{{dt}}\) than following equation of the VAR model is established:

$${y}_{t}={A}_{1}{y}_{t-1}+{A}_{2}{y}_{t-2}+\dots +{A}_{p}{y}_{t-p}+{Bx}_{t}+{\mu }_{t}$$
(2)

If the VAR model has shown affected time series by exogenous time series of d-dimension \({x}_{t}={{ x}}_{1{t}}{{ x}}_{2{t}}{{ x}}_{3{t}}\dots \dots {{ x}}_{{dt}}\) so the cointegration model will be

$$\begin{array}{c}{\Delta Y}_{t}={\Pi }_{t-1}+\sum\limits_{i=1}^{p-1}{\Gamma }_{i}{\Delta Y}_{t-1}+{Bx}_{t}+{\mu }_{t}\\\Pi =\sum\limits_{i=1}^{p}{A}_{i}-I and {\Gamma }_{i}=-\sum\limits_{i=t+1}^{p}{A}_{j}\end{array}$$
(3)

The adjusted disequilibrium matrix is indicated by Π and short-term dynamic adjustment represented by Γ in Eq. 2. The stacking coefficient A is boosted up endogenous factors’ speed of change counter to disequilibrium. This test’s null hypothesis (H0) has shown cointegration among variables, and the alternative hypothesis (H1) indicated the presence of integration among data series.

If \({y}_{t}\) is not influenced by exogenous time series of d-dimension \({x}_{t}={{ x}}_{1{t}}{{ x}}_{2{t}}{{ x}}_{3{t}}\dots \dots {{ x}}_{{dt}}\), so the equation of the VAR model will be changed and written as

$${y}_{t}={A}_{1}{y}_{t-1}+{A}_{2}{y}_{t-2}+\dots +{A}_{p}{y}_{t-p}+{\mu }_{t}$$
(4)

In Eq. 2, the term \({Bx}_{t}\) is used for an exogenous variable in case of “no effect of exogenous;” it will be removed from the model equation or say that its worth will be zero. After removal of \({Bx}_{t}\), Eq. 4 will be an accurate picture of the model. If we use the equation for cointegration transformation of formula, we will get the following formula for cointegration:

$${\Delta Y}_{t}={{\Pi y}}_{t-1}+\sum\nolimits_{i=1}^{p-1}{\Gamma }_{i}{\Delta Y}_{t-1}+{\mu }_{t}$$
(5)

Vector error correction model

The causality direction of the selected set of independent and dummy variables is determined by employing the vector error correction model. The cointegration relationship of variables is confirmed the implication of VECM is valid and takes the results toward an accurate direction. The VECM framework is structured as follows:

$$\begin{array}{c}\left[\begin{array}{c}{\Delta LD-1}_{t}\\ {\Delta NC-2}_{t}\\ {\Delta ND-3}_{t}\end{array}\right]=\left[\begin{array}{c}{\theta }_{1}\\ {\theta }_{2}\\ {\theta }_{3}\end{array}\right]+\left[\begin{array}{c}{d}_{11m}{d}_{12m}{d}_{13m}{d}_{14m}\\ {d}_{21m}{d}_{22m}{d}_{23m}{d}_{24m}\\ {d}_{31m}{d}_{32m}{d}_{33m}{d}_{34m}\end{array}\right]\times \left[\begin{array}{c}{\Delta LD-1}_{t-1}\\ {\Delta NC-2}_{t-1}\\ {\Delta ND-3}_{t-1}\end{array}\right]+\dots +\\ \left[\begin{array}{c}{d}_{11m}{d}_{12m}{d}_{13m}{d}_{14m}\\ {d}_{21m}{d}_{22m}{d}_{23m}{d}_{24m}\\ {d}_{31m}{d}_{32m}{d}_{33m}{d}_{34m}\end{array}\right]\times \left[\begin{array}{c}{\Delta LD-1}_{t-1}\\ {\Delta NC-2}_{t-1}\\ {\Delta ND-3}_{t-1}\end{array}\right]+\left[\begin{array}{c}{{\varvec{\lambda}}}_{1}\\ {{\varvec{\lambda}}}_{2}\\ {{\varvec{\lambda}}}_{3}\end{array}\right]\left({ECM}_{t-1}\right)+\left[\begin{array}{c}{{\varvec{\varepsilon}}}_{1t}\\ {{\varvec{\varepsilon}}}_{2t}\\ {{\varvec{\varepsilon}}}_{3t}\end{array}\right]\end{array}$$
(6)

where the coefficients \({\lambda }_{1}-{\lambda }_{3}\) are indicated the error correction term, the homoscedastic disturbance term is denoted by \({{\varvec{\varepsilon}}}_{1t}-{{\varvec{\varepsilon}}}_{3t}\), and \({ECM}_{t-1}\) represents long-run equilibrium and speed of adjustment. In the above matrix of VECM, each combination is an error correction model.

Granger causality test

The Granger causality test determines the causality relationship of X and Y by following two fundamental principles, i.e., the cause happens before its effect, and the cause has unique information about the future values. The combination and influence of variable X that evolves as per time Granger cause another sprouting variable Y. The predicted value of Y based on its past values and X’s previous values is better than Y’s prediction based only on Y’s past values. The following equation estimates the Granger causality test:

$${X}_{t}={\alpha }_{0}+\sum_{j=1}^{k}{\alpha }_{1s}{X}_{t-s}+\sum_{i=1}^{m}{\alpha }_{2i}{Y}_{t-m}+{\varepsilon }_{1t}$$
(7)
$${Y}_{t}={\beta }_{0}+\sum_{j=1}^{n}{\beta }_{1j}{Y}_{t-j}+\sum_{h=1}^{p}{\beta }_{2h}{X}_{t-h}+{\varepsilon }_{2t}$$
(8)

Both error terms (\({\varepsilon }_{1t},{\varepsilon }_{2t})\) of Eqs. 5 and 6 are uncorrelated with each other as \(E\left({\varepsilon }_{1t}, {\varepsilon }_{2t}\right)=0=E\left({\varepsilon }_{2t}{\varepsilon }_{2s}\right)\dots s\ne t\). The unidirectional causality from CO2 emission to new confirmed cases and newly confirmed deaths and lockdown as a dummy variable has shown in the equation. If estimated coefficient \({\alpha }_{2i}\) is statistically significant, so \({\alpha }_{2i}\ne 0 then Y\to Granger causes\to X\) and vice versa for Y variables \(({\beta }_{2h}\ne 0)\). The significance of \({\alpha }_{2i}\) and \({\beta }_{2h}\) is confirmed mutual dependency of two specific variables. The terms Y and X will be independent if the \({\alpha }_{2i}\) and \({\beta }_{2h}\) are not other than zero.

Empirical results

Table 1 presents the summary of the unit root test for Spain and the UK. The CO2 emission as a dependent and lockdown, daily new confirmed cases, and deaths of COVID-19 as independent variables have shown their significance at 1% level at first difference. The endogenous and exogenous variables have failed to reject the null hypothesis at a level (Ivascu et al 2021; Naseem et al. 2021a, b; Sarfraz et al. 2021; Mohsin et al. n.d). The first column of the table after abbreviations of variable contains unit root integration order. The symbolical word “I” is used for integration, and digits 0 and 1 are considered level and first difference, respectively. After employing the ADF test on Spain and the UK data series, variables confirmed their significance at the first difference, essential for applying the cointegration test.

Table 1 Summary, unit root test

Table 2 contains the VAR lag order selection criterion in which the appropriate lag selection process has been done. The lag order selection criteria for the UK and Spain are supported lag 4 because lag 4 has been confirmed by 4/6 criteria, i.e., likelihood ratio, final prediction error, Akaike information criterion, and Hannan–Quinn information criterion (Hatemi and Hacker 2009; Ivascu et al. 2021; Mohsin et al., n.d). The lag 3 is selected by Schwarz information criteria has chosen lag 3 as a suitable lag for both countries.

Table 2 VAR lag order selection criteria

The results of the cointegration test are presented in Table 3. The cointegration test is generally run to check the long-run relationship among variables. The Johansen cointegration test further elaborates the trace test and max eigenvalues. The trace test strongly rejected the null hypothesis \(r={r}^{*}<k\) and accepted the alternative hypothesis \(r=k\). The null hypothesis of max eigenvalues is similar to the null hypothesis of trace test, but the alternative is \(r={r}^{*}+1\). The significance and cointegration confirmation have been done under none with trace test value 58.57448 for the UK and 57.48816 for Spain at a 1% significance level. The maximum eigenvalues are also significant under the none condition. The max eigenvalue of the UK is 37.85666 and 29.50804 for Spain as well as both are significant at 1% and 5% levels, respectively.

Table 3 Unrestricted cointegration rank test (trace) and max eigen statistics

In Table 4, the results of log-likelihood ratio-based cointegration equation results are displayed, generated by utilizing the trace and max eigenvalues test results. In this process, the linear combination between the UK, Spain, and the selected variables is individually scrutinized from the cointegration equation. This cointegration equation can recheck the long-run relationship among variables. The cointegration equation confirms the long-run relationship, but the relationship’s nature is mixed, i.e., negative and positive. The new confirmed death cases and the lockdown have shown positive, while new confirmed cases of COVID-19 show a negative trend toward CO2 emission in the UK and Spain.

Table 4 Normalized cointegration coefficient

The results of the vector error correction model are presented in Table 5 and Table 6. Table 5 contains the results of the UK. The VECM elaborates the short- and long-run relationship with the causal direction of relationship among variables individually. The carbon dioxide emission at the 3rd difference is unidirectionally related to lockdown \({{CO}_{2}}_{3}\to {LD}_{3}\ne {{CO}_{2}}_{3}\) with a negative sign at a 1% level of significance. The negative sign of CO2 value − 4.647136 shows that strict lockdown becomes the reason for CO2 emission reduction (Andreoni, 2021). A bidirectional relationship between lockdown and CO2 emission \({LD\leftrightarrow CO}_{2}\) is also observed at the 4th difference with a 1% level of significance. The new confirmed cases of COVID-19 have a unidirectional relationship \(NC\to {CO}_{2}\) with CO2 emission at a 1% significance level. A bidirectional relationship between new confirmed cases and newly confirmed deaths \({NC}_{1}\leftrightarrow {ND}_{1}, {NC}_{4}\leftrightarrow {ND}_{4}\) is orderly 10% and 1% level significance at the 1st and 4th difference. New confirmed cases and new confirmed death of COVID-19 complement each other as if the new confirmed cases were going to increase, and the death rate undoubtedly is increased. The rapidly growing death rate increases the chances of caring staff, medical staff, and family members indulging in pandemics and becoming new prey of COVID-19. The new confirmed cases with the 2nd difference \({NC}_{2}\to ND\ne {NC}_{2}\) of new deaths and CO2 emission with the 3rd and 4th \({NC}_{2}\to {CO}_{2}\ne {NC}_{2},{NC}_{3}\to {CO}_{2}\ne {NC}_{3} the\) difference have a unidirectional relationship with a 10% level of significance. The newly confirmed deaths have shown a unidirectional relationship with lockdown \({ND}_{1}\to {LD}_{1}\ne {ND}_{1}\) at 10% level with the first difference. At the 2nd difference, new death cases unidirectional related to CO2 emission and lockdown \({ND}_{2}\to {{CO}_{2}}_{2}\ne {ND}_{2}, {ND}_{2}\to {LD}_{2}\ne {ND}_{2}\) at 10% and 5% levels of significance. All series except new cases also confirm the long-run relationship. The CO2 emission, lockdown, and new deaths are significant at a 1% level for the long-run.

Table 5 Vector error correction
Table 6 Vector error correction

In Table 6, the extracted results of short- and long-run for Spain by using VECM are presented. Approximately 93.7% of total CO2 emissions in Spain and megalopolitan countries were changed due to close manufacturing, wholesale, retail trade, transport accommodation, food services sector, air aviation, etc. This research and analytical theories also supported a valuable decrease in CO2 emission during the pandemic spread out. The carbon dioxide emission and the lockdown have shown a unidirectional relation \({{CO}_{2}}_{1}\to {LD}_{1}={{CO}_{2}}_{1}\) at 1% level of significance. The lockdown with the 3rd difference at 1% level unidirectionally interlinked with new deaths\(LD\to ND\ne LD\). The new confirmed cases have confirmed a unidirectional relationship with CO2, ND, CO2, LD, CO2, and LD with the 1st, 2nd, and 3rd difference \({NC}_{1}\to {{CO}_{2}}_{1}\ne {NC}_{1}, {NC}_{1}\to {ND}_{1}\ne {NC}_{1} , {NC}_{2}\to {{CO}_{2}}_{2}\ne {NC}_{2}, { {NC}_{1}\to {LD}_{1}\ne {NC}_{1}, NC}_{3}\to {{CO}_{2}}_{3}\ne {NC}_{3}\) at 1% level of significance. The new confirmed cases and lockdown have bidirectional relationship \(NC\leftrightarrow LD\) at the 1st difference and 1% level of significance. With the 2nd difference, new death cases have a relationship with CO2 \({ND}_{2}\to {{CO}_{2}}_{2}\) at 1% level of confidence. The long-run relationship is confirmed by CO2 emission, lockdown, and new death cases at 1%, 10%, and 5%, respectively (Naseem et al. 2020; Mohsin et al. 2021a).

Table 7 contains the Granger causality test results, which investigate causality between variables in a time series. The Granger causality test cross-checks the directional causalities of Tables 5 and 6. The correlation patterns are founded by using empirical data set and checking probabilistic accounts of causalities. For the UK, lockdown, new confirmed cases of COVID-19, and total independent variables are inveterate the relationship by showing significance at a 1% level. The newly confirmed deaths are not significant in cross-check results because the death rate is probably based on new confirmed cases. This pandemic is spreading out and not getting proper medical treatment yet, but we cannot say that it will remain the same for all the periods. The medical staff worldwide is still working on finding a proper treatment or vaccine as the death rate is reduced in numbers. In the case of Spain, only new cases are insignificant. The explanation of new cases insignificance is also the same as new deaths for the UK. The scientist will find the proper treatment and get a vaccination, so both new confirmed cases and newly confirmed deaths will be reduced to their extent.

Table 7 Granger causality test

Discussion

The high energy consumption rate in daily transport, trade, industrial activities, and others is the major sources of CO2 emission (Naseem et al. 2021a, b; Mohsin et al. 2021b). The stationarity of the data series is checked by the augmented Dickey–Fuller test, which confirmed the stability of the data series for the UK and Spain at the first difference (Rume and Islam, 2020; Amankwah-Amoah, 2020; Ozturk et al., 2021). The stationarity corroboration of data series makes them accurate to run the cointegration test because the significance of all variables at first difference is the basic condition for applying the cointegration test. In the lag selection process, lag 4 was good to fit for both countries. The cointegration test also verified the long-run cointegration among variables. The directional causality findings of the UK were the carbon dioxide emission at the 3rd difference unidirectionally related to lockdown with a negative sign at the 1% level of significance. The negative sign of CO2 value − 4.647136 shows that strict lockdown becomes the reason for CO2 emission reduction. A bidirectional relationship between lockdown and CO2 emission is also observed at the 4th difference with 1% level of significance. The new confirmed cases of COVID-19 have a unidirectional relationship with CO2 emission at 1% significance level. A bidirectional relationship between new confirmed cases and newly confirmed deaths orderly is 10% and 1% level significance at the 1st and 4th difference. New confirmed cases and new confirmed death of COVID-19 complement each other as if the new confirmed cases were going to increase; the death rate will surely increase (Abbasi et al. 2021; Long and Li 2021).

The rapidly growing death rate increases the chances of caring staff, medical staff, and family members indulging in pandemic and becoming new prey of COVID-19. The new confirmed cases with the 2nd difference of new deaths and CO2 emission with the 3rd and 4th difference have a unidirectional relationship with at 10% level of significance. The newly confirmed deaths have shown a unidirectional relationship with a lockdown at 10% level with a first difference. At the 2nd difference, new death cases are unidirectionally related to CO2 emission and lockdown at 10% and 5% significance levels. The long-run relationship is also confirmed by all series except new cases (Mohsin et al. 2021a). The CO2 emission, lockdown, and new deaths are significant at 1% level for the long-run. The directional relationship of variables for Spain was the carbon dioxide emission and lockdown have shown a unidirectional relation at 1% significance level (Rume and Islam 2020; Amankwah-Amoah 2020; Ozturk et al. 2021). The lockdown with the 3rd difference at the 1% level unidirectionally interlinked with new deaths. The new confirmed cases have confirmed a unidirectional relationship with CO2, ND, CO2, LD, CO2, and LD with the 1st, 2nd, and 3rd difference at the 1% level of significance. The new confirmed cases and lockdown have a bidirectional relationship at the 1st difference and 1% significance level (Rehman et al. 2021a, b). With the 2nd difference, new death cases have a relationship with CO2 at 1% level of confidence. The long-run relationship is confirmed by CO2 emission, lockdown, and new death cases at 1%, 10%, and 5%, respectively.

Conclusion

This research explored the effect of COVID-19 on CO2 emission reduction and producing cleaning air with fewer pollutant particles. In this study, we focused on the UK and Spain for analytical purposes. The daily data series of CO2 emissions, lockdowns, newly confirmed cases, and newly confirmed deaths were selected for analysis. Econometric tools and techniques were employed to check the hypothetical relation among the dependent and independent variables. For example, gasoline consumption dramatically decreased in the specific time span of COVID-19 due to air aviation restrictions. The ADF test confirms the stability of the data series. It makes it possible to run a cointegration test because the significance of all variables at the first difference is the primary condition to apply the cointegration test. The lag selection criterion has selected the 4th lag, which confirms the fitness of the chosen model for the UK and Spain. The cointegration test authenticates the long-run relationship among variables selected. The VEC model shows a bidirectional relationship between CO2 emissions and lockdowns and a unidirectional relationship with newly confirmed cases and new deaths for the UK. The results of Spain confirmed the unidirectional relationship of CO2 emissions, lockdowns, newly confirmed cases, and deaths. The Granger causality test reconfirms the relationship among variables. The findings of Granger causality have shown the insignificance of newly confirm deaths for the UK and newly confirmed cases for Spain, while both countries’ results strongly supported the relationship between lockdowns and CO2 emissions.

The pandemic directly caused the world’s activities to come to a near-standstill of shutdown or strictly prohibited daily activities. Conferences, parties, official and unofficial gatherings, and travel of all types ceased at that specific time. In the very curtailed situation of lockdown and the growing rate of death from COVID-19, the emission of carbon dioxide dramatically decreased all over the world. The refining level of breathing air was improving and becoming cleaner during the pandemic. As per data coverage, our findings are focused on the UK and Spain, but the results of this research are comprehensive in nature and broadly applicable across much of the developed world.

This research highlights some key points learned during the COVID-19 crisis. A sustainable environment is most important for human survival and preparedness. In this specific period, global environmentalists, policymakers, and states realized that different shutdowns are necessary to breaking the chain of future pathogenic diseases, with environmental sustainability and healthy ecosystems being key preventers of outbreaks in the first place. This research also elucidated the link between the human response to COVID-19 and reduction in greenhouse gases emission. The situation made clear that the carbon footprint can be minimized by reducing unnecessary travel. Globally, this is a time to analyze our daily activities and be global citizens to fight against pollutions and eco-unsustainability. We should realize that this is not the first pathogen nor the last to which all of humanity will be vulnerable due to compromising on the protection of the environment and wildlife. A sustainable environment must be achieved to avoid future pandemics, and the lessons learned from COVID-19 regarding greenhouse gas emissions can inform this effort.