Repaired a water heater by diagnosing an issue with the thermocouple, which was preventing the pilot light from staying lit. Turned off the gas supply, removed the faulty thermocouple, and replaced it with a new Honeywell thermocouple. Relit the pilot light and tested the burner for proper function. Verified that the water heater is now heating properly and functioning without issues.