How does the burner of a gas work?

The gas comes out of the nozzle with high speed due to which the surrounding pressure decreases. The air from the hole enters the main pipe. So, the gas and air both reaches to the top of the burner and starts burning on ignition.