The spring keeps the pipe from kinking.

I have seen similar devices for soft copper piping, but you installt the device on the outside of the pipe.