Proper ventilation ensures an adequate supply of oxygen for combustion, helping maintain a blue flame and preventing the release of harmful gases.