In Windows, some audio drivers provide something called “Stereo Mix” and some don’t; this is what is usually recommended if you want to record everything audio happening at once in Windows. But increasingly this doesn’t exist. There are software replacements which do the job: