Introduction

Health is a matter of particular importance within the 2030 Agenda. The Sustainable Development Agenda 2030 delivered by the United Nations includes a target (SDG3, 3.9) that promotes the reduction of deaths and diseases caused by contamination (from hazardous chemicals, air, water, and soil). Anthropogenic activities contribute to increasing soil and air contamination in major cities and agricultural areas (Gaspéri et al. 2016; Wang et al. 2016; Cetin et al. 2022). Plants take up elements by air and soil. Therefore, it is essential to monitor food quality, since plant uptake is one of the main pathways through which potentially toxic elements (PTE) enter the food chain (Fernández-Caliani et al. 2019). Gupta et al. (2018) reviewed the several factors that affect the rate of trace element accumulation, toxicity mechanism, and effects on vegetables and humans and described various toxicity indices for health risk assessment. Urban soils are characterized by a great variability in their physicochemical parameters and properties due to the high anthropization effects, the great variety and combination of sources of disturbance, the diversity of cultivation practices, and the ample range of contamination levels (Bidar et al. 2020). Vegetables and soils can be contaminated by different PTEs. Among them, As, Cd, Co, Cr, Ni, and Pb can be extremely toxic for living organisms.

Different authors reported high levels of different PTEs in urban garden soils from different cities, exceeding the recommended limits for agricultural use (Pruvot et al. 2006; Peris et al. 2007; Ramos and Pinto 2008; Kabala et al. 2009; Izquierdo et al. 2015; De Miguel et al. 2017; López et. al. 2019; Taylor et al. 2021). Cetin et al. (2022) found that Ni and Co soil concentrations increased with high levels of human activities and recommend not to use the plants grown in these soils for food purposes. Very recently, it was highlighted the prevalence of harmful concentrations of contaminants in organically managed urban community gardens near Seattle, Washington (Malone 2022), and Romero-Baena et al. (2021) reported high concentrations of As, Cu, Pb, and Zn in soils from family gardens of Riotinto mining area.

Lead contamination has been appearing as the most common risk factor in urban orchards because of its high level in soils and because of its ubiquity as an environmental pollutant (Mielke et al. 1983; Pelfrêne et al. 2019; Paltseva et al. 2022). The presence and effects of PTEs are often not taken into account when establishing orchards (Malone 2022). Air pollution also contributes to trace metal contamination of vegetables grown in high-traffic areas of developed countries (Mok et al. 2014). The concentration of some PTE levels was studied in vegetables cultivated in urban garden from different cities of the world (Kohrman and Chamberlain 2014; Arrobas et al. 2016; Antoine et al. 2017; França et al. 2017; Pelfrêne et al. 2019; Parveen et al. 2020; Hiller et al 2022), with different results about the safety of consuming these vegetables, but only a few PTEs were studied. Moreover, data about the safety of vegetables cultivated in gardens located in different sites of Mediterranean areas, including mining areas, are scarce (López et al 2019; Rossini-Oliva et al. 2020; Rossini-Oliva and López 2021).

Paradoxically, it has been found that soil contamination by PTEs is not usually identified among urban horticulturists as a common hazard in urban agriculture, and soil and crop controls are often not carried out in urban gardens (Hunter et al. 2019). Nevertheless, a common view among urban agriculture researchers and policymakers is that on-site field studies in urban areas are still rather scarce but will be crucial for determining the health risks of urban horticulture (Ganguli et al. 2024). Urban agriculture has many benefits (Gliessman 2017), and urban food production produces a reduction of food transportation, packaging, and energy use contributing to the climate change mitigation (Cleveland et al 2017), but consumers need to be sure to eat safe food. In a very recent review by Ganguli et al. (2024), it is noted that the scope of research into the risks of urban agriculture remains relatively limited focusing mainly on the social benefits.

This study aimed (1) to determine whether consumption of the urban garden produce represents a potential human health risk based on comparison with guidance values; (2) to compare the concentrations of PTEs in the most frequently consumed vegetables (leafy, bulbous, and fruiting species) from different urban gardens located in three cities of Andalusia (Seville, Cordoba, and Huelva), with one mining area and a peri-urban area; (3) to study soil-to-vegetable PTE transfer; and (4) to compare PTE concentrations in urban garden produce with concentrations determined in local groceries.

Thus, the objectives of this study are to evaluate a high number of PTEs in soils and in a wide range of vegetables cultivated in urban gardens in order to evaluate possible risks for human health consumption in areas with a Mediterranean climate, which until now, according to the authors’ knowledge, has been very scarce considered.

Materials and methods

Plant and soil sampling

Vegetable and soil samples were taken from urban gardens in the towns of Nerva (5127 inhabitants), Minas de Riotinto (3778 inhabitants), and Alcala de Guadaira (75,256 inhabitants); in the cities of Huelva (144,258 inhabitants), Córdoba (325,708 inhabitants), and Seville (688,711 inhabitants); and in peri-urban gardens of Utrera (51,402) municipalities, all in southwestern Spain. The towns Minas de Riotinto and Nerva are located in the Iberian Pyrite Belt mining region, one of the heaviest metal-contaminated fluvial–estuarine systems in the world (Amils et al. 2007). Mining has been carried out in this area since ancient times, and the sampling sites were very close to operating mines. The cities of Utrera, Alcala de Guadaira, Huelva, Cordoba, and Seville differ mainly in their population, with Alcalá de Guadaira and Huelva having the largest industrial hubs. The list of urban gardens, their locations, and any relevant information about the surroundings are shown in Table 1 Supplementary Material.

Vegetable samples (lettuce, chard, tomato, onion, pepper, zucchini, and eggplant) together with composite soil samples from the adjacent area to vegetable roots (0–20 cm depth) were collected in the different urban gardens during 2021–2023. Most of the plots sampled were in social gardens with individual plots of about 100 m2 in which several vegetables were grown simultaneously during each season. Thus, the number of samples collected from a particular plot/garden varied according to vegetable availability. In each plot, soil samples were joined forming a composite sample, if they corresponded to different vegetables. As they are small individual plots, management (modifications, irrigation, tillage) is carried out jointly for the entire plot. In all the orchards, cultivation is carried out under organic farming practices.

The samples from the peri-urban garden of Utrera, located more than 23 km away from Seville city and in a small city with no industrial activities, low traffic density, and a lower human interference, were considered a priori as probably little exposed to any type of anthropic contamination. In addition, the same vegetables were purchased in a local market of Seville to compare with city orchards.

A total of 282 plant samples and 102 soil samples were analyzed. During March 2022, an important haze episode occurred in Seville, due to Saharan dust transport, so lettuce and chard were sampled after a “red rain” event in three urban gardens of the city to study the consequences for plant element composition. These data were analyzed separately.

Plant and soil analysis

In the lab, plant samples were previously washed with tap water and then with distilled water. Fruits and roots were peeled and cut into small pieces. Samples were oven-dried at 70 °C, weighed, and finely ground in a plant mill. A portion of 0.25 g of each sample was digested in a digestion block, with a nitric acid solution (Rossini-Oliva and López-Núñez 2021). After digestion, they were diluted to a final volume of 50 mL with deionized water. PTE contents (As, B, Ba, Cd, Co, Cr, Cu, Mo, Ni, Pb, and Zn) were determined in this solution by inductively coupled plasma mass spectrometer (ICP-MS). The accuracy of the analysis was verified by analyzing a standard reference material (Apple Leaves NIST 1515).

Soil samples were dried at 100 °C, ground, and sieved with a 0.5-mm size sieve. Soil pH and conductivity were determined in 1:2.5 and 1:5 water extracts respectively. Total elemental contents of PTEs in soil samples were determined by using portable X-ray fluorescence (pXRF) (analyzer Niton XL3t 950s GOLDD + XRF, Thermo Scientific Inc., Billerica, MA, USA). In-built soil analysis mode and a scan time of 90 s were used. The finely ground samples were measured in an XRF container (model SC-4331, 26 mm internal diameter, 24 mm height, Premier Lab Supply Inc., Port St. Lucie, FL, USA) capped with a 4-µm propylene film (model 240,255, 63 mm diameter, Premier Lab Supply Inc., Port St. Lucie, FL, USA). The container was placed in the window of the analyzer and scanned three times, and the average values from three replicate scans were selected. The reference material SdAR-M2 (International Association of Geoanalysts 2015) was used to assess the accuracy and stability of the pXRF instrument. It is assumed a maximum 20% relative difference of the true value is acceptable for this technique (USEPA 2007).

Environmental risk

For the evaluation and interpretation of the concentration results in soils, the regulatory regional reference values were considered. These reference values (As, 36 mg kg−1; Cu, 595 mg kg−1; Cr(III), 10,000 mg kg−1; Ni, 1540 mg kg−1; Pb, 275 mg kg−1; Zn, 10,000 mg kg−1) are the threshold values (TV) for agricultural use indicating the need for further assessment. The PTE measured concentrations in the garden soils (Ci) were also compared with the background concentrations (Ci bk) for the specific area given by Aguilar-Ruíz et al. (1998). For Nerva and Riotinto sites, background values corresponding to the South Portuguese area were selected. This area is part of the Iberian Pyrite Belt, one of the world’s largest reserves of massive sulfides, which ranges from the center of Andalusia to the Portuguese region of Aljustrel. For the rest of the locations, the background values of the Guadalquivir river basin have been used. The Guadalquivir basin is filled with Neogene materials (Miocene-Pliocene), and there are also Quaternary deposits, mostly belonging to the terraces and alluvials of the great rivers and their tributaries.

Additionally, the following contamination indexes have been used:

The concentration factors (CFi) of the metals/metalloids As, Cr, Cu, Ni, Pb, and Zn, defined as the ratio between the concentration of the metal in each soil and the background values for the region, were calculated as

$${{\text{CF}}}^{{\text{i}}} = {{{\text{C}}}^{{\text{i}}}}_{{\text{bk}}} / {{\text{C}}}^{{\text{i}}}$$

CFi accounts for the contamination of single elements. For this risk index approach, CFi < 1 is indicative of low contamination, 1 < CFi < 3 is indicative of moderate contamination, 3 < CFi < 6 is indicative of considerable contamination, and CFi > 6 of very high contamination (Hakanson 1980).

To account for overall contamination by all PTEs, we use the pollution load index (PLI). Although originally this index was defined in sediments, it is also used for soils (Madejón et al. 2017). PLI is calculated as the nth root of the product of the obtained CFi. Values of PLI close to 1 indicate no PTE contamination, while values above 1 indicate soil contamination.

In the soil analyses, some samples (14 in the case of As, 37 for Cr, 5 for Cu, and 15 for Ni) gave results below the detection limit (LOD) of the technique. To avoid bias, values below the LOD were replaced by the lowest value of all those obtained.

Human health risk assessment

The hazard quotient (HQ) and hazard index (HI) were used to establish non-carcinogenic risks (USEPA 2010). HQ is the ratio between exposure to the potentially toxic elements and the standard reference oral dose (RfD). RfD is the highest level at which no adverse health effects are expected. If the ratio is lower than one, there will be no obvious risk. However, if the HQ is > 1, then there is a possibility that adverse health effects could be experienced. The formula used for calculating HQ is the following (United States Environmental Protection Agency methodology):

$$\mathrm{HQ}=\frac{{\text{EDI}}}{{\text{RfD}}}$$

EDI is the estimated daily intake that can be calculated as:

$$EDI=\frac{Cm\times Ir\times Ef\times Ed}{BW\times AT}$$

where Cm is the concentration of element in the vegetable (mg kg−1 dry weight); IR is the daily vegetable ingestion rate (kg per day); Ef is the exposure frequency (day/years); Ed is the exposure duration (years); BW is the average body weight (70 kg for adult a); RfD is the oral reference dose for the metal (mg kg−1 of body weight per day); and AT is the average exposure time for non-carcinogenic effects (30 × 365 days/year). Since the ingestion rate was in fresh weight, EDI was multiplied by 0.085 (Junta de Andalucia 2017). RfD values are 0.0003, 0.2, 0.2, 0.001, 0.0003, 0.003, 0.04, 0.02, 0.0035, and 0.3 mg/kg/day for As, B, Ba, Cd, Co, Cr, Cu, Ni, Pb, and Zn, respectively (EPA 2008; USEPA 2010, 2015; WHO 1993). Ed was established as 30 years for adults. IR was estimated according to the Regional Annual Consumption data (Ministerio de Agricultura, Pesca y Alimentación 2022).

Since the health effect is due to more than one element, the hazard index (HI) for each studied vegetable was calculated as the total hazard quotient (USEPA 2010):

$$\mathrm{HI }={{\text{TQ}}}_{{\text{As}}} + {{\text{TQ}}}_{{\text{B}}} + {{\text{TQ}}}_{{\text{Ba}}} +{{\text{TQ}}}_{{\text{Cd}}} + {{\text{TQ}}}_{{\text{Co}}}+ {{\text{TQ}}}_{{\text{Cr}}}+ {{\text{TQ}}}_{{\text{Cu}}}+ {{\text{TQ}}}_{{\text{Mo}}}+ {{\text{TQ}}}_{{\text{Ni}}}+ {{\text{TQ}}}_{{\text{Pb}}}+ {{\text{TQ}}}_{{\text{Zn}}}$$

If the TQ or HI is > 1, there is the potential for adverse non-carcinogenic health effects (USEPA 2010).

Carcinogenic risk (CR) of As

Carcinogenic risk is the health risk from carcinogens. The target carcinogenic risk (CR) can be calculated as (USEPA 1989):

$$CR=\frac{Cm\times Ir\times Ef\times Ed\times SF}{BW\times AT}$$

AT in this case is 78 × 365 days (28,470 days) since it is calculated for exposure duration over the lifetime (Junta de Andalucía 2017); SF is the oral slope factor (mg/kg/day)−1. The oral slope factor from the Integrated Risk Information System (USEPA 2010, 2015) is 1.5 for As. Values of CR higher than 10−5 are considered unacceptable (RD/9/2005).

Statistical analysis

Data were first checked for normal distribution by Shapiro–Wilk’s test. If data were normally distributed, differences in PTE levels in each species or soil from different urban gardens were compared by ANOVA and post hoc Tukey test. Non-parametric Kruskal–Wallis test was used when data were not normally distributed followed by Mann–Whitney U test. Data of vegetables were separated among fruiting, bulbous, and leafy species to test differences in PTE accumulation between groups. The translocation factor (TF) was calculated as the ratio of the element concentration in the edible parts of the vegetables and the total element concentration in the soil where the plant had grown. This factor is useful to estimate the capacity of the species to accumulate PTEs in the edible part. The soil-to-plant transfer factors (TF) were calculated as the ratio of the element concentration in the edible parts of the vegetables and the total element concentration in the soil where the plant had grown. This factor is useful to estimate the capacity of the species to accumulate PTEs in the edible part.

Results

Soils

Table 1 shows the descriptive statistics for PTE concentrations and pH values in each urban garden soil, including the average, maximum, and minimum concentration values. To facilitate the comparison of the data, they have been grouped in Table 2 according to the type of orchard in peri-urban (UTR site), mining (NER and TIN sites), and city (cities).

Table 1 Concentrations of PTEs (mean, minimum and maximum values) and values of pH in the soils of the different urban gardens
Table 2 Statistics for the concentration of PTEs (mean, minimum, and maximum values in mg kg−1) and pH of the soils of the different types of urban gardens

In general, the soil pH was neutral to moderately alkaline, with values between 6.5 and 8.9 in all cases. In the mining area, soils showed pH values close to neutrality. In urban city soils, the mean value of pH was always greater than 7 with two orchards showing values greater than 8.

The average concentration of As was 5.5 mg kg−1 in the peri-urban garden, 9.9 mg kg−1 in the urban city gardens, and much greater, 145 mg kg−1 in the mining gardens, reaching a maximum value of 609 mg kg−1 specifically in the TIN garden. Arsenic concentrations in the three sites were statistically different. The average concentration of Cr was 22.2 mg kg−1 in the peri-urban gardens and similar (31.5 mg kg−1) in the urban city orchards but significantly higher (104 mg kg−1) in the mining gardens. The average concentration of Cu in the peri-urban garden (UTR) was similar to that of urban city gardens but statistically lower than in the mining urban gardens (206 mg kg−1). An ample variation in Cu concentration was observed in both urban and mining gardens: 18–265 mg kg−1 and 128–398 mg kg−1 respectively. The average concentration of Ni was similar in all sites reaching a maximum value of 68 mg kg−1 in one urban plot (Alamillo Park). The average Pb concentration (14.3 mg kg−1) was lower in the peri-urban garden than in other areas, while the highest concentration (350 mg kg−1) was found in the mining orchards reaching up to 1080 mg kg−1 in the TIN garden. The mean Zn concentration was the lowest in peri-urban gardens (36 mg kg−1), while it was more than doubled in city areas, whereas the highest values (309 mg kg−1) were observed in the mining area.

The CF and PLI means for PTE in each garden are shown in Fig. 1. The CF was close to 1 or lower than 1 in the peri-urban orchard (UTR) as well as in some city orchards: LUC, GUA, and TRI. For Cr, the CF remained in values around the unit in all of the gardens. But in several city orchards (ALA, MI2, ASO, LEV, MOR), the CF of As, Cu, and Pb had values close to 3 (peaks of the stars of Fig. 1). In mining orchards, the same PTEs reached CF in the order of 6–12 (red lines). The lowest PLI, 0.8, was found in the peri-urban garden and the TRI and LUC urban city garden. In the city orchards, PLI values ranged from 0.8 to 1.7 with the highest numbers corresponding to ASO and LEV, sites located in Córdoba city. The highest PLI values were found in gardens from the mining area (3.4 and 4.1).

Fig. 1
figure 1

Average concentration factors (CF) for the studied PTEs and pollution load index (PLI) in each garden. For the drawings in blue, the scale indicated by the hexagons corresponds to 3 units, while for the gardens in red, the scale corresponds to 12 units. Figures indicate the PLI value

Plant

The mean concentration and standard deviations of PTEs in the vegetables from different urban garden areas are shown in Table 3. Significant differences in PTEs were observed in vegetables from urban gardens of the three areas tested (peri-urban, mining, and city) and the local market, varying according to the element and species. For onion, As mining > all others, city > peri-urban; market > peri-urban, city = market; B mining > peri-urban, market > all areas, city = peri-urban; Cu mining > city, city = peri-urban, mining = peri-urban, market > all areas; Mo mining > all areas, market < all areas, city = peri-urban; Pb mining > city > market = peri-urban, city > market, peri-urban > market, city = peri-urban; Zn content was only statistically higher in plants from market > city. For pepper, As mining > all areas, city > peri-urban = market; Co peri-urban > mining > city = market, city = market, city > mining, city = peri-urban; Pb city = peri-urban = market, mining < peri-urban < city; mining = market, Zn city = peri-urban, peri-urban > mining > market, city = market. For tomato, B, Cu, and Zn were only higher in mining area with respect to city and market, city = market, city = peri-urban; As mining > all areas, city < peri-urban; Cd peri-urban > all areas, city = market = mining; Co city = peri-urban = market, peri-urban > mining; mining < city < market; Cr peri-urban < mining, city = market; city = peri-urban, city > mining, market > mining. For eggplants, As mining > peri-urban > city, mining = market, market = city and city > peri-urban; Cd peri-urban > all areas; city = market; Co mining < city < peri-urban < market, market = peri-urban and city, city = peri-urban; Mo peri-urban > mining = market and city; market > city > mining; Pb peri-urban > mining = city > market; market = city, city > mining; Zn peri-urban > mining > city, peri-urban = market; city = market; mining = city and market. For lettuce As market < peri-urban < city, city = peri-urban; B peri-urban > market, city = market, city > peri-urban; Ba city = peri-urban, city > market; peri-urban > market; Cd peri-urban > the city > market; city > market; Cr peri-urban = city; city > market, peri-urban = market; Cu peri-urban > city > market; market < city < peri-urban, city = market; Mo city > peri-urban > market; Ni city > peri-urban, city = market, peri-urban < city < market; Pb city = peri-urban, market < city < peri-urban. For chard, As mining > all other areas, city > market and peri-urban; Ba peri-urban > all other areas, city = market; Cd mining > all other areas, city = peri-urban, city = market; Co market > all the other areas, city = peri-urban; Pb mining > city > market, city = peri-urban, city > market, peri-urban > market. For zucchini, As in mining > city > peri-urban; market = all areas, city > peri-urban; Cu mining > peri-urban, city = market = mining = peri-urban; Pb market = peri-urban, peri-urban = city, also peri-urban = mining, mining > city; city = market; Zn peri-urban > market > city, market = city; mining > city and market.

Table 3 Mean values (mg/kg) ± standard deviation of elements in vegetables from market (Mk) and cultivated in mining (M), urban (U), and peri-urban gardens (P)

Leafy vegetables were generally able to accumulate more PTEs (Fig. 2A, B) than bulbous and fruiting species, and statistical differences were not observed for Mo and Ni in the three groups of vegetables (data not shown). For As and Cr, leafy and bulbous species had similar accumulation capacity. Chard was the species with the highest Ba accumulation, and B was particularly accumulated by chard and lettuce. Lettuce had also the highest capacity to accumulate Cd while Pb was particularly accumulated by lettuce and chard.

Fig. 2
figure 2

A, B Mean ± standard deviation of concentration of potentially toxic elements in the different plant species groups

Values of transfer factors (TF) are shown in Fig. 3. Generally, all potentially toxic elements (As, Ba, Cr, Cu, Ni, Pb, and Zn) had TF values below 1 for all studied species, and differences varied from element to element. For Ba, chard > than in other species; for Zn, lettuce showed a similar value to zucchini, and both had greater TF than the rest. For Cu, chard = lettuce > others; for Pb, chard = lettuce = eggplant > others; for Cr and Ni depended on the areas; for As, lettuce > others and in mining area onion > others.

Fig. 3
figure 3

Soil-to-plant transfer factors (TF) of PTEs in the studied vegetables cultivated in the different urban gardens

In Seville, haze episodes (“calima”) occur with a certain frequency in particular weather conditions. Haze carries dust and sand particles from Africa and plants may absorb them. Dust is a source of plant nutrients, such as Fe, but can also transport PTE (Menendez et al. 2007). During these episodes, air quality is extremely unfavorable for humans, according to the Spanish Ministry for Ecological Transition (Miteco 2023). Figure 1 (Supplementary material) shows differences in PTE observed for lettuce and chard during periods of haze and no haze. The Cu content in lettuce sampled after haze was higher compared with the un-haze samples, and for chard, an enrichment of As, B, Co, Cr, Ni, and Fe (we have no data of Fe for lettuce) was observed (Fig. 1 Supplementary Material).

Health risk assessment

The mean concentration (fresh weight) of As, Cd and Pb in all the studied vegetable is shown in Fig. 4. All values were below the maximum permissible concentrations established by European legislation. The calculated hazard quotients (Table 4) showed that the estimates of parameters for non-carcinogenic risk were < 1 for all elements in all the studied vegetables growing in the different urban garden areas. HI values were also < 1 for all vegetables.

Fig. 4
figure 4

Mean value of As, Cd, and Pb concentration found in the different vegetable species cultivated in the urban gardens. For As, red line represents the maximum permissible concentration in food. For Cd, blue line represents the maximum permissible concentration for leafy species and red one for fruiting and bulbous vegetables. For Pb, black line is the maximum permissible concentration for fruiting species, blue line for bulbous species, and red line for leafy species

Table 4 Hazard quotient and hazard index (HI) of potentially toxic elements from studied food species cultivated in urban gardens. M, mining area; PeriU, periurban area

Also, in the scenario of haze, values of HQ were below 1 for lettuce and chard (0.043 and 0.014 respectively). The values of CR of As (Fig. 5) for the studied species were below the limit (10−5) in the three studied areas and also during the haze period for chard and lettuce (7.67E − 07 and 1.80E − 06 respectively).

Fig. 5
figure 5

Cancer risk of As in the studied vegetables cultivated in different urban gardens from mining, city and peri-urban area. Red line is the permissible value

Discussion

Soil contamination

The concentrations of As, Cr, Cu, Ni, Pb, and Zn in the cities and peri-urban garden soils were relatively low taking as reference the Maximum Permissible Concentrations (MAC) (Kabata-Pendias and Pendias 2011), which are the values most commonly reported in the literature for trace metals in agricultural soils. The maximum values indicated by Kabata-Pendias and Pendias (2011) were not exceeded by the concentrations found in city and peri-urban orchards (Table 1), except for Cu in ALC, Ni in ALA, MI2, TOR, and LEV. Although the concentrations of PTEs in soils of city and peri-urban orchards remained relatively low, soils from the city had higher levels of As, Pb, and Zn. The PLI and CF values indicate the absence of contamination (PLI < 1) in the peri-urban area (UTR orchard) as well as in some city orchards (LUC, TRI, GUA, ELE, HER, and TOR). All these orchards are located in the metropolitan area of Seville. But even in this group, in the ALC orchard, Cu CF exceeded the value of 3, being 3 the limit between moderate and considerable contamination. Copper CF peaks with values close to 3 were also observed in the ASO, LEV, and MOR orchards and somewhat lower in the ALA, HER, and MI2 orchards (Fig. 1). This Cu contamination was possibly produced by copper fungicides, which are products authorized by European organic farming regulations (European Commission 2008) and which might be used regularly and even indiscriminately by non-professional horticulturists in these orchards. This fact has been observed by López et al. (2019) in another urban garden of Seville city.

In some urban orchards (ALA and MI2 in Seville city, ASO and LEV in Cordoba city), high PLI values were observed (PLI 1.5–1.6), due to the increase of Pb CF (considerable contamination) but also due to As and Cu CFs (moderate contamination) (Fig. 1). A wide variability in Pb levels in the city orchards was found (range 13.4–92.9 mg kg−1, Table 1). Hiller et al. (2016), in a study with urban soils, also found greater variability in Pb contents than for other contaminating metals (such as Cu, Zn, and Hg). Lead contamination in soils has been a problem in numerous cases from very different possible sources (Pelfrêne et al. 2019; Romero-Baena et al. 2021). One of the most common origins has been the historical contamination by leaded gasoline, which may have affected the urban gardens. The trigger action value (TAV) indicated by the regional regulations for Pb is 275 mg kg−1 (Junta de Andalucia 2015), but all soil Pb concentrations found in city and peri-urban locations were below TAV. Concentrations registered for As and Cu in peri-urban and city orchards (with maximum values of 19.7 mg kg−1 for As and 265 mg kg−1 for Cu) were lower than the TAVs indicated in the regional standard (36 and 595 mg kg−1 respectively) (Junta de Andalucía 2015).

In the case of urban city soils, their pH was alkaline and the high pH would a priori promote the immobilization of the soil PTE, limiting the transfer to plants.

PTE concentrations in gardens located in the mining area (NER and TIN) were much higher than in the rest of the city and peri-urban gardens (Table 1), except in the case of Ni concentrations, which were relatively similar in all cases. Kabata-Pendias and Pendias (2011) also published trigger action values (TAV) for trace metals in agricultural soils from various reports, documents, and internet data in some European countries. In the case of NER and TIN, the average or maximum concentrations (Table 1) exceeded the reported TAV for some elements such as As (65 mg kg−1) and Pb (300 mg kg−1) or were of similar magnitude (TAV Cu 500 mg kg−1, Zn 1500 mg kg−1). In NER and TIN gardens from the mining area, As concentration (48.9 and 85.5 mg kg−1) was also greater than the regional TAV for As (36 mg kg−1, Junta de Andalucia 2015) with maximum concentrations higher than values reported by Romero-Baena et al. (2021). In the case of Pb, the regional TAV (295 mg kg−1) was exceeded in the orchards from the mining area. The maximum Pb values reported in this study were much higher than concentrations reported in soil family gardens from the same mining area (Romero-Baena et al. 2021). The PLI in the mining orchards (Fig. 1) showed a significant average contamination. However, the contamination was very high (6 < CF < 12) when considering the CFs of Pb, As, and Cu, as observed in Fig. 1. In the case of Cr, its concentration was much higher in the mining orchards than in the other ones (Table 1) with maximum values higher than concentrations reported by Romero-Baena et al. (2021), but it was always below the regional TAV (10,000 mg kg−1). In fact, the CFs of Cr in the NER and TIN soils (Fig. 1) were only slightly higher than 1 (1.1 and 1.3 respectively) indicating that the higher concentration of this element, in the mining area, was due to the soil parent rocks.

These results were consistent with the long history of mining activity in the area (NER, TIN), focused on the exploitation of sulfuric, Cu, Zn, Pb, Ag, and Au from pyrite and polymetallic deposits and from oxidized or gossan mineralization. These soils had neutral pH values (Table 1). Other authors (Fernández-Caliani et al. 2009; Monaci et al. 2011) reported acid pH for these soils with values sometimes below 4, but Romero-Baena et al. (2021) reported pH values close to 6 in soils from family gardens of the mining area. The addition of organic amendments and limestone, which are practices frequently carried out by horticulturists, may have increased pH values. Results suggest that preventive measures to ensure safer gardening include actions to limit the direct ingestion of contaminated soil particles such as washing hands accurately after gardening and that liming practices must be carried out before soils are used for crop cultivation.

Potentially toxic element levels in vegetables and plant/soil relation

Values of PTEs varied mainly with the plant species and to a lesser extent with the sampling sites. Results from plant analysis indicate that anthropogenic contamination related to the city and mining activities increases human health risks associated with urban agriculture only for some elements. Arsenic was high in vegetables cultivated in urban gardens from the mining area, reflecting the high As concentration in these soils. Onion and chard were the species with the highest mean As concentration (0.558 and 0.272 mg kg−1 respectively). The mean concentrations of As in all the studied vegetables (Fig. 4) were below the maximum permissible concentration established by the European Directive (EC 2023). This indicates that bioavailable As was also depending on soil properties such as organic matter, the content of Fe and Al, and bacterial activities which may control its plant availability (Kabata-Pendias and Pendias 2011; Paltseva et al. 2018).

According to the European Directive (EC 2021), Cd concentration in leafy, fruiting, and bulbous vegetables should be lower than 0.20, 0.05, and 0.05 mg kg−1 (fresh weight basis, fw) respectively.

Cadmium in all vegetables was below the permissible limits, similar to results reported by Varol et al. (2022) in vegetables from Turkey. Only in one case did lettuce from the peri-urban garden slightly exceed the guidance value (0.20 mg kg−1 fw). The high Cd content in some vegetables (pepper, eggplant, tomato, lettuce) found in peri-urban areas compared with the other areas might be due to particular pollution sources in that area. Antisari et al. (2015) found a peak in leaf Cd concentration in several species from a control-rural site and attributed it to long-term soil fertilization which built up Cd in soils, especially phosphate fertilizer and also pesticides (Hua et al. 2022). In our case, the peri-urban orchard had a long history as an olive grove receiving mineral fertilization for many years. Values of Cd in soils from the peri-urban area are not available since it was not possible to measure soil Cd with the technique (pXRF) used because it was below the detection limit. In any case, values of Cd found in this study were lower than values reported in leafy species grown in peri-urban gardens from contaminated sites in Uganda (Nabulo et al. 2012). Lead concentration was high in mining soils, but only some vegetables (chard, onion, and zucchini) cultivated in this area reflected higher Pb concentrations than those from other urban gardens. It is interesting to note that in peri-urban areas, the Pb content in all crops was similar to the one found in city gardens, even if these soils had the lowest Pb content. This can be due to the low correlation between Pb content in soil and vegetables (Säumel et al. 2012; McBridge et al. 2014; Romero-Baena et al. 2021), but can also suggest that other anthropic sources of Pb pollution (probably atmospheric) might contribute to Pb contents in vegetables as reported by other authors (Säumel et al. 2012; McBridge et al. 2014). None of the Pb values exceeded the permissible value established by the European Directive (EC 2023) for leafy, bulbous, and fruiting vegetables (0.3, 0.1, and 0.05 mg kg−1 fw respectively), which might be due to the neutral pH of these soils. The highest Pb contents were found in chard from the mining area (0.16 mg kg−1 fw) and in lettuce from the MI2 city garden (0.10 mg kg−1 fw). In the mining area, a great portion of As, Cu, Pb, and Zn should be immobilized in the organic matter (Romero-Baena et al. 2021) reducing the bioavailability of plants. Generally, in the family garden soils of the Riotinto mining area, the bioavailability of PTEs is low (Romero-Baena et al. 2021).

There are no data about the recommended maximum Ba level permitted in food, and Kabata-Pendias and Pendias (2001) reported a range of 2–13 mg kg−1. Only chard showed high values in all areas (maximum content in chard from peri-urban garden and Huelva city, 82 and 67 mg kg−1 respectively), and such contents were lower than in leafy species cultivated in New York City (McBridge et al. 2014). Cetin and Jawed (2024) reported that Ba concentration in the leaf of ornamental species is related to traffic density, and there is no correlation between total soil Ba and crop Ba (McBridge et al. 2014). It looks like that chard has a good efficiency to take up Ba from the growth environment.

The normal range of Cr in vegetables is 0.04–0.13 mg kg−1 (Kabata-Pendias and Pendias 2001), and almost all vegetables from gardens of the four areas exceeded these amounts such as Mo average (normal range 0.1–0.8) and B (normal range 6–14 mg kg−1). The highest Cr content was observed in lettuce and onion from urban gardens of Seville (2.75 mg kg−1 in MI2 and 2.62 mg kg−1 in ALA respectively). These values were much higher than Cr concentrations found in lettuce of Bratislava city (Hiller et al. 2022) but lower than the maximum values found in other leafy species of Berlin city (Säumel et al. 2012). Chromium is not an essential element for plants, and the high Cr concentration in plants was not related to its concentration in soils, but some other atmospheric sources might be responsible.

Molybdenum concentration in plants reflects the soluble Mo pool in soils (Kabata-Pendias and Pendias 2001). The maximum Mo content was reported for lettuce from Huelva city (MOR, 28.1 mg kg−1). We have no data on Mo in soils but industrial pollution or agricultural practices may be responsible for the high values recorded in plants. The reported concentration for Ni and Zn in vegetables is 0.06–3 and 10–73 mg kg−1 respectively (Kabata-Pendias and Pendias 2001), and in general, the studied vegetables from all the studied areas did not exceed this range (with the only exception of zucchini from peri-urban area).

The mean Cu content in the studied vegetables was in a range of 4.34–17.9 mg kg−1, exceeding only a few cases the values of 10 mg kg−1 reported for vegetables (Kabata-Pendias and Pendias 2001). The highest value was found in chard from an urban garden of Seville city (M12, 79 mg kg−1), higher than the one reported for the same species in Berlin city (Säumel et al. 2012). As reported above, Cu treatments are permitted in ecological agriculture for pest control.

In our study, only a few crops (mainly lettuce and chard) from city urban gardens had PTE contents higher than samples from the local market, in contrast to results reported for the city of Berlin (Sämuel et al. 2012), which underlines the security of urban horticulture in the city areas. Food species cultivated in the city gardens also have in general the same PTE concentrations as vegetables harvested in peri-urban sites, and more differences were related to the species. In the present study, leafy species generally accumulated more PTEs in comparison with fruiting species, except for Mo and Ni. Similar findings have also been reported in other studies (Zhuang et al. 2017; Rossini-Oliva and López 2021; Hiller et al. 2022; Varol et al. 2022). Bulbous and leafy species have the same capacity to accumulate As and Cr. Pelfrêne et al. (2019) showed that fresh herbs had the highest values of Pb and Cd while fruiting vegetables presented the lowest contents of both elements. Values of TF (Fig. 3) indicated that these elements were not accumulated in the edible part of these species in spite of their concentration in soils. The TF ratio may quantify the potential health risk associated with vegetable consumption (Boim et al. 2016). All values were lower than 1 indicating a general low risk because of their relatively low accumulation in edible parts. The transfer factors (TF) varied depending on the plant species and sometimes may also vary depending on the area studied (Fig. 3). It is interesting to point out that in the mining area where As and Pb concentration in urban garden soils is high, onion was the species with the highest As TF, and onions and chard showed the highest Pb TF.

Haze can increase atmospheric pollution by enriching with different PTEs such as As, Cr, or Cu (Luo et al. 2016). In leafy vegetables, an increase of PTE (As, Co, Cr, Cu, Fe, and Ni) was observed after the haze episode due mainly to dust particles coming from the Sahara desert. Especially during these conditions, it is very important to wash edible parts of vegetables before eating.

Human health risk ingestion assessment

Carcinogenic risk values, associated exclusively with exposure to As, were not higher than 10−5 in all vegetables cultivated in urban garden from the studied area (Fig. 5). As the safe limit was not overpassed, therefore, its ingestion should not represent a risk to human health. Despite the high values of some PTE found in the studied vegetables, the HQ and HI indexes were below 1 for all studied vegetables, including after the haze episode. Similar results were reported by Varol et al. (2022) for several vegetables grown in Turkey and by Margenat et al. (2019) for vegetables cultivated in Spain but contrary to the results reported by Shaheen et al. (2016) for fruits and vegetables in Bangladesh. The highest values of HI were observed for tomato, onion, and lettuce. These findings are consistent with previous studies (Margenat et al. 2019). Cancer risk values varied mainly with the site and not according to the species. In conclusion, there is no carcinogenic health risk by consuming these plant foods individually and collectively through the diet of the seven vegetable species, and therefore, the ingestion of vegetables from the tested gardens is safe for humans. Results suggest also that the total concentration of PTEs in the soil is not a good indicator to a priori establish risks since it can overestimate human risks. This is very important since on many occasions, data without a correct risk assessment procedure can create social alarms. In addition, it is very important to share information with gardeners and local authorities on both the benefits and the risks associated with urban gardening activities and vegetable species that should accumulate more PTEs.

Conclusions

The concentration of PTEs in vegetables is related to the species and urban gardens where they are grown. Soils of orchards from mining areas are more contaminated than city and peri-urban ones except for Ni. There was a lack of correlation between vegetable and paired soil concentrations for almost all studied elements. The level of PTEs in vegetables was in general similar to market and peri-urban concentrations and differences were related to the species. Mining activities and traffic can increase PTEs in crops. Arsenic, Cd, and Pb did not exceed the guidance values for foods. Chromium, Mo, and Ba concentrations were high in many vegetables from all the studied areas and should be monitored more often. In spite of that, the hazard quotient for all the studied elements and hazard index in all vegetables were below the guidance values. Cancer risk values for As were below the established limits for all the studied vegetables, including in the mining area, which values indicate that there is no cancer risk by its ingestion. Therefore, the consumption of urban garden produce should not present a significant health hazard. During haze episodes, an increase of some PTEs can occur in vegetables, so it is very important to wash them accurately.