Many laboratories deal with the determination of heavy metals, carbon, nitrogen and phosphorus. The first step in chemical analysis is a proper preparation of the investigated samples. The presence of organic substances can cause problems in many analytical methods. This paper describes the application of UV irradiation as a method of destruction of organic matter in the investigated samples.