This is a plumbing vent cap, it is used to cover the vent tube on an RV that is on the roof. You can search RV plumbing Cap on Youtube for examples.
This does not hook in any way to an rv water tank.