There are flexible plastic and metal pipes both. However, neither is supposed to be sold to anyone other than a licensed installer.

: Want to extend my natural gas line from inside house to detached garage with and underground run. Isn't there a flexible nonmetalic material that can be used? And, where does one look for such material?