It’s the ignition source for the main gas burner when it’s activated by the thermostat. Other gas appliances like stoves, ovens and water heaters ... if the pilot light orifice is clogged ...