Also, the SIM card has its own operating system.
Also, most smartphones today have at least one browser installed, they're basically their own tiny little OSes at this point.