The Termux app is a terminal emulator. If I create a file or a folder there, and then use another file explorer app to browse my device, where can I find these files?
You don't need to root your device. All you need to do is run the following command on a non-rooted (or rooted) device to allow termux to access your existing directories, particularly
this creates a new directory in termux,
~/storage, which contains simlinks to
/storage/emulated/0 and can be accessed by a standard gui file manager.
You will need to grant file access to termux when prompted after you run the command.
The default directory is:
Since Termux supports bash commands, user can run
pwd to print current working directory.
pwd is an acronym of print working directory.
Provided that you don't want to root your phone, it is possible to change permission for Termux (Settings->Applications->Termux->Permissions) and enable the Storage permission.
This way you are granted access to phone and sdcard storage and you can use it as superuser (mv, ls and other commands work as intended) in the application.
So, you can move or copy the files you need into internal storage.
You can touch it on data/data/com.termux/files/home. That's the default main directory of termux. It's impossible to find the file that you've created on termux main dir as I mentioned above on your phone because its not rooted on any device. It works like sort of a server. By there on data/data/com.texmux/files/home, which is the default main directory of termux, you can already browse files, create file, manipulating it same sort you're using your file manager