I was called to a home to repair a water heater that was not producing hot water. Upon arrival, I found that the pilot light was out. I checked the gas line and found that it was not connected properly. I reconnected the gas line and lit the pilot light. The water heater was now producing hot water. I tested the water heater to ensure that it was working properly and left the home.