All your data is in text format. It's a desktop app, so you don't really lose it, but if for some reason it disappears and your installed app stops working, all your data is already in a directory on your computer.
It's a desktop app. If Obsidian shuts down the app will continue to work as long as your OS can run electron apps. If it doesn't work, they're just markdown files a million other apps can handle.