Abstract.We show that studying of low-frequency internal friction (LFIF) of solid samples at low temperatures allows determining the presence of various gases absorbed, for some reasons, in pores and caverns of the solids. The gases come over to a solid state (cryocrystals) and exist in the pores under corresponding thermodynamic conditions giving an additional contribution to the LFIF spectra. The spectra reflect the special points of the gases (temperatures of melting or phase transitions). This information gives a real opportunity for identification of gas in the matrix, i.e. the studied solids. This may be of great importance for investigations of cosmic or geological samples, for instance, asteroids, meteorites, rock formations, etc. The LFIF method allows identification of gas media surrounding the studied sample.Introduction.