Wi-Fi, internet & email
Think of your internet like water coming into your house. The modem is the faucet — it is where the internet from your internet company first arrives. The router is the sprinkler — it takes that one stream and spreads it around so all your devices can use it: your phone, your TV, your computer. The modem brings the internet in; the router shares it around.
Most homes today have one box that does both jobs — that is called a gateway, and it is why everything looks so confusing. If you do have two boxes, one has a wire running straight into the other: usually the modem feeding the router.
Why it matters: unplug the wrong box and you are pulling the sprinkler out of the yard instead of turning the water back on. When the company says 'restart your modem,' you want the box where the internet comes in — the one with the wire from the wall or outside. The router is usually the one with the little antennas on top.