What controls the gas to the burner in a hot water heating system?

What controls the gas to the burner in a hot water heating system?