The gas valve is a gas distribution mechanism. When the need for gas in the burner increases, a message is sent from the PCB to the gas valve, which opens and allows gas to flow through the valve in to the pilot assembly or the burner dependant on the model of the appliance installed.