A LAN (Local Area Metwork) is a group of computers and network devices connected together, usually within the same building. The wide are network (WAN) connects two or more LANs together.
The WAN is a telecommunication network that spans multiple locations and connects multiple LANs over dedicated lines using routers.