This pipe component in the gas range connection

gas

I need to replace gas supply line for my gas range. Please look at picture of my existing supply line connection.

Red arrow shows shuttoff valve.
What is blue part ? Is that kind of extension coupling ?
Where do I need to disconnect old line from ? From yellow nut ?

enter image description here

Best Answer

The part in blue is just a nipple from the valve to a reducer for the corrugated pipe connection which is where you want to disconnect the line. Naturally, make sure your gas valve is in the off position, the handle perpendicular to the pipe.

Many jurisdictions do not allow homeowners to connect/disconnect gas appliances. Check with your gas company for compliance. they may come out and do it for free. They would also check the lines/valves for any leaks.