The gas line provides a steady supply of gas to the burner.  The burner heats up the burner plate, which in turn heats the cooking surface, in this case a griddle.  The gas then also gets heated up by the burner.  But it’s not actually getting ignited, at least not directly.
assistant
What kind of stove are you talking about?
assistant
How does a gas stove work without igniting the stuff from the gas line?
user