What is this?

2002 construction. Condo. Under kitchen sink, after the trap.
Some kind of vent? Why?

Air vent, they were probably to far from the stack for it to drain correctly.