1 Introduction

The United Nations convention regards the right to access clean drinking water as a universal human right [1, 2]. However, for many developing nations in Asia, South America, and Africa, this human right is still merely an aspiration [3]. A number of human activities are related to the pollution of soil, groundwater, and surface water. These activities include mining, agriculture, landfilling, industrialization, urbanization and technological advancement. After a period of heavy rainfall, the pollutants are transported by runoff water into water reservoirs, where they are later consumed by people and animals [4,5,6]. Heavy metals have a high geochemical activity and are readily migrated through sediments, water, and suspended particles [7]. Thus, one of the global environmental problems that is more prevalent is the pollution of soils, sediments, groundwater, and surface water by different heavy metals [8,9,10]. In addition, most heavy metals have considerable biological activity and are resistant to biodegradation, which means they may accumulate in the food cycle and enter the human body [11]. Heavy metals can cause harmful effects such as carcinogenicity, teratogenicity, and mutagenicity when their amount in the human body surpass the regulatory limit [12]. For instance, elevated Pb concentrations have been linked to human cognitive deterioration [13], while high Cd concentrations have been linked to liver and skeletal problems as well as a higher chance of lung cancer [14]. In addition, long-term exposure to these hazardous metals may result in fatal conditions including cancer, Parkinson’s, Alzheimer’s, and multiple sclerosis [15]. Moreover, short-term exposure to these metals can induce physical, muscular, and neurological issues [16, 17]. According to previous studies, fast economic growth has led to an increase in the amount of sewage released by chemical companies and the use of pesticides and fertilizers in agriculture, both of which have raised the level of heavy metals in aquatic ecosystems [18].

Uganda is a low-income nation where a large number of people lack access to clean water supplied by National Water and Sewerage Cooperation (NWSC) [19]. According to data from the Uganda NWSC, 34% of the nation's villages and 26% of Uganda's urban areas lack access to safe drinking water [20]. Thus, this population is dependent on groundwater and surface water, both of which are often contaminated. These sources usually include toxic heavy metals like lead, cadmium, chromium, zinc, and mercury along with dissolved organic and inorganic substances like trichloroethylene, volatile organic compounds, chlorides, fluorides, sulphates, carbonates, sodium, potassium, calcium, and magnesium [21]. Individuals who consume such types of water might experience further health issues [22]. Several studies have been conducted on heavy metals in surface and groundwater in various regions of Uganda. These include assessment of heavy metals in Pager River [23], drinking water [24], copper mine and tailing sites [25], groundwater [26], wastewater channel [27] and River Rwizi [28]. Bakyayita and co-workers [29] reported the toxicity of heavy metals in selected groundwater and surface water sources in Kampala city; however, the seasonal variation of the heavy metals from each location were not discussed. More studies on heavy metal regarding regional water quality is necessary to estimate the level of contamination and develop potential mitigation strategies. This is due to the fact that there is a growing need for water in the districts of Kampala and Mbarara to meet the demands of industry, agriculture, and household water supply.

This study presents the results of an extensive investigation to determine the concentration of heavy metals (Cu, Pb, Fe, Cd, and Mn) in surface and groundwater from the districts of Kampala and Mbarara. The two primary objectives of this study were: (1) Examine the presence of heavy metals in the water sources as well as the seasonal and spatial distribution. (2) Assess the pollution indices and the human health risks that these heavy metals contamination poses to the consumers.

2 Materials and methods

2.1 Study area

The study focused on Kampala and Mbarara districts which are located in the central and western parts of Uganda respectively with sampling points on groundwater (Fig. 1) and surface water (Fig. 2). The coordinates of the sampling sites mapped in the Figs. 1 and 2 are shown in Table 1. In Kampala district (the nation’s most industrialized commercial district), water samples were collected from 2 protected springs (S1 and S2), 5 shallow wells (S3, S4, S5, S6 and S7) and 2 open springs (S8 and S9). In Mbarara district, wastewater samples were collected from 1 receiving pond (S10), 1 upstream pond (S11) and 1 downstream pond (S12). Moreover, the open ponds were sampled in the Katete sewage pond located in the Mbarara district (Fig. 2). The sample locations were selected based on criteria such as population density, the degree of human activity in the region, and the population's dependency on surface water and groundwater. To understand more fully the seasonal variations in occurrence and distribution of the heavy metals, the study covered three months in a dry season (February, March, and April 2023) as well as three months in a wet season (June, July, and August 2023).

Fig. 1
figure 1

Location of Kampala district and positions of sampling points

Fig. 2
figure 2

Location of Mbarara district and positions of sampling points

Table 1 Designation of sites, coordinates and types of water sampled

2.2 Sample collection

Water sampling, handling, storage, and chemical analysis were all performed according to international standard methods [30]. One-liter (1 L) polythene containers were used to collect the samples. Sampling containers were thoroughly washed with a 5% solution (v/v) of nitric acid and then rinsed with deionized water 24 h before collecting the samples. Moreover, all the containers were rinsed three times with the sample water before collection at each site. The collected samples were filtered, acidified with nitric acid [31] and stored at 4 °C before analysis.

2.3 Digestion and analysis of heavy metals

Exactly 50 ml aliquot of water sample was transferred into a Teflon vessel and 5 mL of concentrated HNO3 was added. A thermostatic hot plate was then used to gently boil the mixture for about thirty minutes. The digested samples were transferred into a 50 mL standard flask and diluted to volume. An aliquot was taken from the resulting solution and sent for Atomic Absorption Spectroscopy (AAS) analysis. The concentrations of heavy metals in the samples were measured using the calibration curve results of each standard. For the quantitative determination of the heavy metals (Fe, Cd, Pb, Mn andCu), a Thermo Electron Atomic Absorption Spectrometer, model S SERIES system was used. The equipment was calibrated using reference standards of the metals and also blank. All samples were analyzed in the laboratory in triplicate at the Central Instrumentation Research Facility, Covenant University, Otta, Ogun State, Nigeria. The relative standard deviation of the method obtained are: Pb (2.70%), Cd (3.33%), Fe (1.50%), Cu (2.00%), and Mn (1.37%).

2.4 Heavy metal pollution index

Heavy metal pollution index (HPI) was calculated to determine the overall impact of individual metals on water quality. The rating and weight of each metal are used to calculate HPI. According to Rajmohan et al., the rate is an undefined number ranging from 0 to 1, and weight is inversely related to the drinking water regulatory limit of various heavy metal [32]. The maximum admissible concentration of Cu, Fe, Mn, Pb and Cd are 2.00, 1.00, 0.40, 0.01 and 0.005 mg/L respectively [33]. According to Basahi et al., the HPI is classified as: excellent with values ranging from 0 to 25, good (26–50), poor (51–75), very poor (76–100) and unsuitable when HPI value is greater than 100 [34].

2.5 Degree of contamination

The impact of heavy metals on a water body is measured by the degree of contamination (Cd) [34, 35]. The categories of heavy metal pollution based on Cd are as follows: Cd < 1 indicates low pollution, Cd from 1 to 3 indicates moderate pollution, and Cd > 3 indicates high pollution in the water due to trace metals. Cd is calculated using Eqs. (1) and (2).

$$C_{d} = \sum\nolimits_{{i = 1}}^{n} {Cf_{i} }$$
(1)
$${Cf}_{i} =\frac{{M}_{i}}{{MAC}_{i}}-1$$
(2)

where Mi and MACi are the measured level and the maximum acceptable concentration (MAC) of the ith metal as recommended by the [33], respectively, and Cfi is the contamination factor.

2.6 Statistical analysis

The average, standard deviation, and Pearson's correlation coefficient were obtained using Minitab® statistical software version 21.4.1. The variance in the trace metals was examined using the ANOVA test. Additionally, Varimax rotation factor analysis was carried out to determine the best fit and explain the correlation among the measured heavy metals.

2.7 Human health risk

Oral injection of contaminated drinking water is the primary means which heavy metals pollution poses health risks to both adults and children. Alternative routes such as cutaneous contacts and aspiration are minor when compared to oral ingestion. The hazard quotient (HQ) and chronic daily intake (CDI, mg/kg/day) were determined in the present study using procedures recommended by the United States Environmental Protection Agency [36]. The approach reported by Rajmohan et al. [37] was also employed to determine the non–carcinogenic health risks (which depend on the hazard index) of each metal. The sum of the HQoral values of each heavy metal was used to evaluate the oral hazard index (HIoral) for individual sample. While samples with values greater than 1 may provide non-carcinogenic health concerns to the consumer, those with HIoral < 1, CDIoral < 1, and HQoral < 1 are safe to drink.

3 Results and discussion

3.1 Heavy metals distribution and assessment of drinking water quality

Table 2 shows the heavy metal concentrations in each water source. During the dry season, site 6 had the highest mean Pb concentration (0.214 mg/L), with concentrations varying from 0.113 to 0.315 mg/L, while site 9 had the lowest average level (0.096 mg/L), with values varying from 0.069 to 0.121 mg/L. Additionally, there is a change in the spatial variations during the wet season, site 10 had the highest average concentration (0.197 mg/L), whereas site 9 was found to still have the lowest mean concentration in the wet season (0.112 mg/L). Results showed that almost all the sampling locations recorded Pb values which exceed the World Health Organization (WHO) maximum allowable concentration of drinking water (0.01 mg/L) [33]. Drinking water contaminated with lead (Pb) may lead to several health issues, including chronic bronchitis, gastrointestinal discomfort, lung cancer, neurological abnormalities, and impaired lung function [38]. Pb concentrations varied significantly (p < 0.05) across the sample locations; however, no significant variations (p > 0.05) were observed in the seasonal patterns of Pb distribution (Table 3). The average levels of Pb recorded in this study for dry and wet seasons (0.152 and 0.166 mg/L respectively) were substantially lower than mean concentrations (7.09 and 7.32 mg/L) of Pb in surface water, Bangladesh [39] but higher than the mean concentrations (0.006 and 0.003 mg/L) of Pb in Aiba Reservoir, Iwo, Nigeria [40].

Table 2 Spatial and seasonal distribution of heavy metals concentration (dry and wet season)
Table 3 ANOVA relationship between heavy metal at various sample sites and seasons

Site 6 had the highest average concentration of Mn in the dry season (1.225 mg/L), with values varying from 1.115 to 1.335 mg/L. On the other hand, Site 3 had the lowest mean concentration of Mn (0.014 mg/L), with values ranging from below the detection limit (ND) to 0.067 mg/L. Additionally, site 4 recorded the highest average Mn concentration (2.691 mg/L), with concentrations varying from 2.688 to 3.101 mg/L during the wet season. However, Mn concentration was below the detection limit (ND) in site 3 throughout the wet season. The high concentrations in Mn detected in the shallow wells could be related to the increase in the release of manganese (Mn) from soil into groundwater through runoff from landfills or compost (inorganic matter). Results showed that 25% of samples had a mean concentration of Mn which surpassed the WHO allowable limit for drinking water (0.40 mg/L) while 75% were below the limit and are good for consumption. The seasonal patterns in the Mn distribution were significantly different (p < 0.05), although the Mn concentrations across the sample sites did not change significantly (p > 0.05). The average concentrations of Mn in this study for dry and wet season (0.431 and 0.668 mg/L) were higher than the average values (0.22 and 0.13 mg/L) of Mn in surface water, Niger Delta, Nigeria [41] and also average concentration (0.03 mg/L) of Mn in Gomti River, Bangladesh [42].

Moreover, the highest average level of Cd was observed at site 11 in dry season (0.019 mg/L) with values varying from 0.018–0.021 mg/L whereas the lowest average level was detected at site 2 (0.011 mg/L) with values varying from 0.008–0.016 mg/L. During the wet season, there were changes in the spatial distribution of Cd concentrations. At site 2, the mean concentration of Cd was the lowest (0.082 mg/L) and at site 4, the highest (0.090 mg/L). The high concentrations of Cd recorded in almost all the sampling locations could be attributed to run off of phosphate fertilizers into the soil (phosphate contains Cd as contamination) and also combustion emissions. Significant differences in Cd concentrations were observed for both seasonal and spatial variability across the locations (p < 0.05). The average Cd concentrations in this study (0.016 and 0.085 mg/L) were less than those in the Awash River (0.06 and 0.13 mg/L), Ethiopia [43], and dam water (3.76 and 5.12 mg/L) in Nairobi, Kenya [44].

During the dry season, site 10 had the highest mean concentration of Cu (0.146 mg/L), while site 12 had the lowest (0.034 mg/L), with values ranging from 0.003–0.086 mg/L. In addition, site 10 was found to have the highest mean level of Cu (0.322 mg/L) during wet season, with concentrations varying from 0.312 to 0.327 mg/L, while site 4 had the lowest mean concentration (0.235 mg/L). Results showed that all the samples had Cu concentrations below 0.400 mg/L and also are within the recommended limit (2.00 mg/L). Also, Cu concentrations varied significantly (p < 0.05) across the sites for both seasonal and spatial variations. The average concentrations of Cu (0.122 and 0.262 mg/L) observed in this study were lower than that of Cu (0.422 and 1.078 mg/L) in groundwater from OkeOdo, Iwo, Nigeria [45], but substantially higher than the concentration of Cu (7.3 µg/L) in groundwater, Hyderabad City, India [46].

The mean Fe concentration ranged from 0.081–4.45 mg/L from site 7 to site 10, with the latter having the highest average value (2.632 mg/L) in dry season. Furthermore, during the wet season, there was variation in the mean value across the study sites. At site 4, the highest mean value (8.646 mg/L) was recorded, with concentrations varying from 5.237 to 11.770 mg/L, while at site 2, the lowest concentration (0.081 mg/L) was recorded, with concentrations varying from 0.068 to 0.089 mg/L. Results indicated that 25% of samples surpassed the WHO allowable limit for drinking water while the remaining 75% of samples were within the limit (1.0 mg/L). The high value of Fe observed at site 4 during wet season could be related to corrosion of iron or the steel pipes used for the shallow well. The Fe concentrations at each sample location varied significantly (p < 0.05). On the other hand, there was no significant changes (p > 0.05) in the seasonal trends of the Fe distribution (Table 3). The average concentrations (0.865 and 1.223 mg/L) of Fe measured in this study for dry and wet season were significantly lower than the average concentrations (2.574 and 6.09 mg/L) in groundwater [45]. However, Omopariola and Adeniyi [47] reported mean concentrations of Fe in groundwater in Ayedaade, Oyo State, Nigeria, with lower concentration (0.75 mg/L) in dry season and higher (1.95 mg/L) concentration in wet season.

Results showed the following order of the mean metal concentrations (high to low): During the dry season, Fe > Mn > Pb > Cu > Cd. However, during wet season, the following decreasing sequence of heavy metal concentrations was observed: Fe > Mn > Cu > Pb > Cd. The high concentrations of Fe observed in wet season could be related to substantial runoff which had washed the iron-bearing soil particles into water sources. It could also be attributed to corrosion of iron or steel used for the shallow wells.

3.2 Comprehensive evaluation of trace metal pollution

3.2.1 Heavy metal pollution index

Table 4 shows that during the dry season, HPI varied from 14.14 to 220.48 with an average of 89.75, while in wet season, it varied from 9.46 to 638.13 with an average of 127.90. Figure 3a and 4a represent the grouping of the samples during both seasons. In dry season, results showed that 8% of samples fall into “excellent”, 25% fall into “good” while the “unsuitable” class had the highest (34%). The other 33% of samples are categorized into “poor” (8%) and “very poor” (25%). In addition, results also showed that 42% of samples fall into the “poor” category in wet season, however; there was a significant increase in samples with “excellent” category (16%). It could be said that few samples fall in the category of portable drinking water while majority are within the “poor” and “very poor” classes which require proper treatment and management.

Table 4 Calculated descriptive statistics for HI, Cd, and HPI
Fig. 3
figure 3

Heavy metals pollution index, degree of contamination and HQoral for dry season

Fig. 4
figure 4

Heavy metals pollution index, degree of contamination and HQoral for wet season

3.2.2 Degree of contamination (Cd)

The contamination index (Cd), similar to the HPI, is an essential indicator for evaluating the level of pollution in water sources. It was computed using Eqs. (1) and (2), and the statistical information is shown in Table 4. The Cd concentration in the sample locations varied from -2.45 to 1.59 with an average value of -1.00 during the dry season, whereas it ranged from -2.56 to 12.49 with a mean value of -0.11 during the wet season. Results indicated that in the rainy season, 8% of the samples were classified as high (Cd > 3); however, no sample was recorded with Cd > 3 in dry season (Fig. 3b and 4b). In this study, site 4 (shallow well) was observed to have the highest Cd value (12.49) and this occurred in the wet season. The Cd correlates with the high value of HPI (638.13) observed. This could be due to the high concentration of Fe and Mn measured in wet season at the sampling site.

3.3 Multivariate statistical analysis

3.3.1 Pearson correlation coefficient

In order to investigate the relationships between the variables and to identify the source of the metals found in the particulate matter, the Pearson correlation coefficient is employed [48]. Strong correlation was defined as having a Pearson’s correlation coefficient between 0.9 and 1, while moderate correlation was defined as having a correlation coefficient between 0.9 and 0.5 [49, 50]. This classification was also included in the analysis of this study in order to have a general understanding of the performance of each of the assessed water quality indicators. There was no relationship between the variables Pb, Mn, Cd, Cu, and Fe during the dry season. For each relationship, the correlation coefficient was less than 0.5, and no statistically significant association was identified (Table 5). However, during wet season, Cu had significant positive correlation with Pb (r = 0.579), Fe had significant positive correlation with Cd (r = 0.589) and also strong positive correlation with Mn (r = 0.881). Other relationships found in the correlation matrix were not statistically significant. Moreover, the absence of no significant relationship between variables in the dry season indicates that sources of contamination of water bodies might be from different factors which are not common to all. Therefore, contamination sources could be from sewage discharge, wastewater treatment or surface runoff of agro-chemicals from agricultural practices. The results of this study showed that during the wet season, Fe and Mn exhibited a significant relationship. This could have occurred concurrently due to partial overlaps in the redox processes during reduction of Fe and Mn oxides, and it may be related to the significant concentrations observed at the sources [51].

Table 5 Heavy metal correlation coefficient in water sources (dry and wet season)

3.3.2 Factor analysis

The factor analysis result obtained for dry season showed strong positive loading for only Pb in factor 1, negative strong loading in factor 2 and factor 3 for only Cu and Cd respectively (Table 6). It could be said that an increase in concentration of any of the variables will not significantly affect others (no significant correlation between the variables). Moreover, it could be said that the sources for each metal contamination in the water bodies are not similar; therefore, different factors could have contributed to the level of contamination. The statistical analysis indicated significant positive loadings of Mn and Fe in the wet season (Table 7), with factor 1 showing the largest variance (0.38%). The presence of positive loadings may result from a range of geogenic processes and anthropogenic activities including landfill leachate and sewage discharge. Furthermore, factor 2 indicated significant positive loadings for Pb and Cu. The strong correlation means that an increase in concentration of Pb leads to increase in concentration of Cu and this could be related to anthropogenic activities such as industrial processes, runoff of agrochemicals into surface water and over-pumping in shallow wells. However, only Cd showed a strong positive loading in factor 3 with no significant correlation with other variables. This means that an increase in level of Cd does not have any significant change in other variables. A possible explanation for this might be pollution from sources like sewage sludge and landfills in nearby areas of the study locations.

Table 6 Varimax rotated factor loadings of heavy metals for dry season
Table 7 Varimax rotated factor loadings of heavy metals for wet season

3.3.3 Human health risk assessment

In an effort to quantify the possible health risk associated with adults and children in the study districts consuming metal-polluted surface and groundwater orally, the human health risk assessment (HRA) was conducted. The present study estimated the hazard index (HI), hazard quotient (HQoral), and chronic daily intake (CDI, mg/kg/day) for each metal. Figures 3c and 4c show the proportion of samples that fall below the accepted limit (HQ < 1) for each metal. During dry season, Mn and Fe had HQ < 1 for both adults and children (100% of samples). However, only Fe had HQ value which was within the recommended limit in wet season while Mn had HQ > 1 (children) for 8% of the samples. In addition, Cu and Pb had HQ > 1 (more than 90% of samples) while Cd had 8% of samples with HQ > 1 for children in dry season. Moreover, Cu, Pb and Cd had HQ > 1 (adults and children) for more than 90% of the samples in wet season. The metals exhibit the following decreasing pattern, based on the proportion of samples that surpassed the permissible level: Pb > Cd = Mn = Fe = Cu (adults) and Pb > Cu > Cd > Mn = Fe (children) for dry season. Similarly, in wet season, the metals follow the decreasing trend for wet season: Cu = Cd > Pb > Mn = Fe (adults) and Pb = Cu = Cd > Mn > Fe (children). It could be said that HQoral values of metals which exceeded the recommended limit were mostly recorded during wet season with Pb having the highest percentage.

During the dry season, HIoral calculated for adults in the study districts varied from 2.03 to 3.26 with an average of 2.61 and 3.43 to 5.51 with an average of 4.41 for children. Moreover, there was fluctuation in the HIoral computed in wet season, it varied from 5.11 to 5.66 with a mean value of 5.84 and 8.64 to 11.24 with a mean value of 7.86 for adults and children respectively (Table 4). Results showed that the HIoral values computed for all the sites were more than 1, this suggests that consumers could be exposed to potential non-carcinogenic health risks. Moreover, in the study locations children are significantly more susceptible to non-carcinogenic risks than adults. Similarly, the HIoral results reported in Owan River, Nigeria [52] and Ossiomo River, Nigeria [53] showed that children in the receptor population were predisposed to non-carcinogenic risk (HIoral > 1). Hence, the groundwater and surface water should be managed well by consumers and also treated (when necessary) before consumption.

4 Conclusion

Significant seasonal and spatial variation is observed in the majority of heavy metals assessed. In addition, the quality of water in the study sites with “poor” and “very poor” classes could be improved by proper treatment of wastewater and sewage before discharging to the environment, regulation of extensive application of agrochemicals and routine monitoring of water by protection agencies. According to the HI results, none of the research sites are appropriate for drinking and may provide non-carcinogenic health concerns to consumers (HI > 1). Hence, a mitigation plan should be implemented by the environmental protection agency to ensure that the community at large have access to quality drinking water.