Picture a classroom where every desk has a string telephone to the teacher's desk. Any student can send a message to the teacher, and the teacher can pass it on to any other student. That is a small network. The teacher's desk is like a router: the box in a home that joins all the devices and passes messages between them.
In a home network, the laptop, the phones, the smart TV and the printer all connect to the router, some by cable and some by Wi-Fi. When you press print on the laptop, the document travels to the router and then on to the printer. Nothing leaves the house. That is a local area network, or LAN. A school with many buildings, or a company with offices in different cities, joins its networks into a wide area network, or WAN.
Being on Wi-Fi is not the same as being on the internet. Wi-Fi only joins your device to the router. If the router's own link to the internet is down, you can still print to the printer in the next room, but no website will load. And a group of devices that cannot talk to each other is not a network at all: ten switched-off tablets in a cupboard are just ten tablets.
Think of it like this. A network is like the roads in a town. Houses (devices) are joined by streets (cables and Wi-Fi), and a roundabout in the middle (the router) sends each car the right way. A town's roads can stay local or join a motorway to other towns, which is like the internet. Unlike cars, messages arrive almost instantly.
Core idea. Networks enable communication and resource sharing. They range from local (LAN) to global (internet).