The paper obtains spectrograms of the plasma-erosion torch on the surface of the glass carbon in the air and in the vacuum, which allow us to judge the presence of certain particles and their number in the torch depending on the parameters of laser radiation. Experiments have shown that the composition of the plasma-erosion torch in air and in vacuum has a complex structure with different particles, depends on the parameters of laser radiation, which can affect the characteristics and modes of deposition of carbon films.