Valves on pipelines work like gateways. Generally, they are open, allowing natural gas to flow freely. They can also be closed to stop gas flow along a certain section of pipe.