HOW? - Notify users even they are out of website

HOW to make general push notification in PC , or is it possible in mobile too?
Even when the user is not using the webapp, how to notify them?
if it’s not possible on bubble, I still am curious how it works in traditional code or in native apps…

I’ll appreciate your help!