The browser is the OS. The website is the application.
Browser and os can both track your history. An application / a website can not.
You might think websites can via tracking scripts connecting to third parties. But applications can connect to third parties even easier. As a user, you have even less power to prevent that.