Soil pollution with heavy metals and metalloids has become a great threat to arable land. Heavy metals and metalloids enter the plants through soil and further into the human food system. In the master's thesis we analyzed mineral and geochemical properties of rocks and soils in the Podkum area and soils in the Trbovlje area. Soils were analyzed in three different size fractions (< 0,063 mm; 0,125–0,315 mm; 0,315–2 mm). Rocks and soils in the Podkum area were sampled in two different parent rocks. The first is Gröden rock, quartz sandstone precisely, and the second is dolomite of Scythian series. The mineral composition of the soil samples in both areas is represented by: quartz, dolomite, calcite, muscovite/illite, chlorite, kaolinite and plagioclases. The differences are only in the content of individual minerals. Soil samples in the area of Trbovlje have the same mineral composition and were taken on rocks Soteške series. The main oxides that appear in the largest quantities on both locations are SiO2, Al2O3, Cao in MgO. The main oxide content in both areas coincides with the mineral composition of the rocks and the soil. Of all the heavy metals researched on both locations, the highest contents belong to Zn and the lowest to As. Soil pollution in the Podkum and Trbovlje area was determined based on the comparison with the limit values for dry soil and calculated environmental indices. In the Podkum area, only Zn exceeds the limit values in samples taken on the sanDstone, while in the Trbovlje region this is true for As and Zn. According to environmental indices, the soil in the Podkum region is moderately contaminated with Zn and Pb. In the area of Trbovlje, the soil is moderately contaminated with Zn and Pb. The increased contents of Zn, Pb and Cu may have the origin in antropogenic activities. Since the taken samples are primarily garden soil, in the Podkum area, pollution or higher Zn concentrations can be attributed to the use of phosphate fertilizers in agriculture, higher Pb concetration to traffic, where it was used as a fuel additive, and higher Cu concentrations to the use in agriculture, where it is used for disease prevention and faster plant growth. In the Trbovlje area, higher concentrations of Zn can be attributed to the automotive industry, where Zn is used for steel coatings, whereas higher concentrations of Pb can be attributed to traffic and coal burning in the past.