Android record audio

Aux-in or Line-in (usually found in PCs)

can accept a 3.5 mm male to male wire from an 3.5 mm audio jack from a cellphone (provided it has one, if not you need a USB-C to 3.5mm dongle.

With that setup, you can record on your audio in a PC/Laptop (maybe MacOS as well?). I use Audacity for this on Linux. I dont know if the recent Windows still has that old Recorder program from way back from Win 95/98 era. Audacity is your friend if it doesnt exist anymore.