Gas line warranty

Can someone give me the quick low down on the practice of gas line warrantys and the process of the inspection itsself? i was told that many lenders require them. Thanks