What is a sediment trap? What are they for?

What is a sediment trap? What are they for?

Have you ever looked at your gas furnace or gas water heater and wondered what the short piece of gas pipe going to nothing was for? Did the plumber possibly leave it in case you wanted to add to the line? It is actually a very useful component of the gas line known...