Where TinyDB is located

If I realize an app with TinyDB with the APP INVENTOR,
where is the Database stored, on my Host or my
Android mobile phone connected by wi-fi or in a cloud?

When you install the app, the TinyDB is “inside” the same app.
Here a study:

And what’s the answer if I don’t install the extension?

This example is only to show you where the TinyDB is installed, if you do not use the extension the TinyDB will continue to be installed where in the shared_prefs internal directory, as I indicate in the study of the link.