Your browser does all that because your browser works for *you*. The reason your browser *can* work for you is that the web is an open, standardized technology. In theory, anyone who follows the standards published by the World Wide Web Consortium (W3C) can make a browser, and that web browser can connect to *any* web server. Browsers and servers are *interoperable*.
3/