How does the internet work?

The Internet (from the English internetwork, composed of the prefix inter and network ‘network’ or net ‘net’ for short), colloquially also net, is a worldwide network of computer networks, the autonomous systems. It enables the use of Internet services such as WWW, e-mail, Telnet, SSH, XMPP, MQTT and FTP. In this process, any computer can connect to any other computer. Data exchange between computers connected via the Internet is carried out using the technically standardized Internet protocols. The technology of the Internet is described by the RFCs of the Internet Engineering Task Force (IETF).

Below is a movie from Euro-IX that explains very simply how the Internet works and what peering means: