The flame explains the fault
On a standing-pilot unit in Rancho Santa Clarita, the pilot itself is the diagnostic. Steady but the tank stays cold: burner or valve. Out: thermocouple or sensor. Lit only while the button is held and dead on release: the thermocouple has stopped proving flame, which is the most common of the three.
Electronic units show a status light or code instead, naming ignition, flame-proving, venting or a limit — enough to know which system to test next.
What the visit covers
The pilot assembly and orifice, thermocouple or sensor, burner tubes and air shutters, gas valve and manifold pressure, and the flue, draft and combustion air supply — because a heater that lights reliably and vents badly is the dangerous one, carbon monoxide having no smell.
Limits
Thermocouples, sensors, burners and valves are serviceable work. Gas piping, venting changes and combustion air are not homeowner jobs, and a smell of gas means leaving the building and calling the utility.