The article presents studies on the concentration of harmful gases and the movement of air flows in the livestock room. Due to the fact that hydrogen sulfide is extremely volatile, it is well susceptible to removal by ventilation, because of this, maximum peaks of its concentration can be observed in the exhaust area. For a height of 0.5 m, it was 1.66 mg/m3, for 1.5 m — 1.92 mg/m³, and at a height of 2 m, the concentration reached 1.8 mg/m3. The largest amount of carbon dioxide is localized in the feed passage. This is due to the fact that animals most of the time are located in the direction in his direction, and since cattle are the main source of carbon dioxide, since a larger amount is released during respiration, then the main localization of the gas will be directly in the feed passage. In the area of ventilation, CO2 concentrations are equal to 1054 ppm, and in the area without ventilation — 1178 ppm. The maximum peaks of ammonia localization have been established, most of them are located in the area of the room in which the ventilation system is located. For a height of 0.5 m, it was 45.4 mg/m3, for 1.5 m — 43.6 mg/m3, and at a height of 2 m, the concentration reached 44.4 mg/m3. Ammonia concentrations equal to 27.3 mg/m3, 24.8 mg/m3 and 28.6 mg/m3, respectively, were detected at the aft passage, which is closer to the hood, at heights of 0.5 m, 1.5 m and 2 m. Above the feed table, which is located in the part of the cowshed without ventilation, indicators equal to 41.2 mg/m3, 48.7 mg/m3, 22 mg/m3 were found for a height of 0.5 m, 1.5 m and 2 m, respectively. Studies have shown that the peak values of gases are in the area of the cowshed, in which the ventilation system is located. It also depends on the properties of gases (lighter will reach ventilation faster).