The Sims 3 is a desktop game for Windows and macOS. You cannot play it in a browser or "online" without the installed client.
Note: The Sims 3 Store, Exchange, and some online services are discontinued. Community mods (NRaas, etc.) are essential for stability on modern systems.