You can connect your iPhone to Wi-Fi in two main ways, either through a visible, listed network or a hidden network. Here's how to do both.
A modem and router work in tandem to deliver you an internet connection and then grant access to your various devices.