Xbox one and phone sound/mic at the same time

I have a pair of gaming headphones and I would like to know if there's a way that I could hear the sound of my game while chatting on my phone on discord, by splitting my headphones jack some way ?

I heard there are splitters and things like that but I don't know a lot about audio