OBS is software for producing and streaming live video content.
XSplit emerged slightly before OBS Classic but OBS innovated with a far superior game capture implementation on Windows, supporting shared texture hooking across D3D8-D3D11 and OpenGL, which helped it gain massive traction with the Twitch crowd. After retaining a large user base it was eventually rewritten as the cross-platform OBS Studio.
"Open Broadcaster Software" -> https://obsproject.com
Why Microsoft decided to put this functionality only in the Game Bar (and not also in, say, the Snipping Tool) is anyone's guess...
But desktop usecase, OBS is pretty much a gold standard.