Analogy

Imagine you're sitting in a coffee shop.

You connect to the free Wi-Fi.

You decide to log into your bank account.

Your browser sends your username and password over the network.