Here is how to attach it

...link...

Others can address its purpose and function.
Try searching Ranco valve