How to record sound from multiple sources

I want to record a podcast but I’m confused on how to do a specific action. I know how to record from my microphone but I want to record what I hear in my headphones because I am talking to other people through Teamspeak. Can anyone help? Thanks

That’s a heck of a question that comes up a lot. Normal computers aren’t designed to do jobs like this. They typically have one record channel and one playback,

Look at voicemeeter and see if that can help. That tries to build multiple sound channels and directions in software.