Most gas water heaters use a pilot light. It is common on fireplaces and older cheaper furnaces and water heaters. The pilot light on some models also generates the power needed to operate an electronic gas valve.