First one looks like a big-arse rivet.
The second one is it threaded inside? Looks like union or coupler of some type.
What's the size on the bottom piece? Loos like part of a valve?
What's the size on the bottom piece? Loos like part of a valve?