What is this item? Unknown device in old laundry closet in newer construction house
It looks to me like a drain clean-out. If your drain pipes clog deep in the system, the cap can be removed to get a fairly straight shot down to the common sewer for a roto-rooter-type machine.

You should probably find a new location to add one in  its place.