Yes, it can.
You can join LANs and WANs with a Hub, Router, Switch, Gateway, Bridge, Network Interface Card (NIC) and a WAP (Wireless Access Point)..
WANs
WAN ( Wide Area Network )
Security. WANs connect buildings together, LANs are inside of buildings. They are similar but not the same. If you don't have more than one location, you don't need a WAN.
Similarities between LANS and WANS is that they are both networks and can cover small geographical areas.
A router that supports two or more communications protocols, such as IP and IPX. It is used to switch network traffic between different LANs located throughout the enterprise as well as to switch LAN traffic to WANs.
Intranet
A router is a device that forwards data packets along networks. A router is connected to at least two networks, commonly two LANs or WANs or a LAN and its ISP's network. Routers are located at gateways, the places where two or more networks connect, and are the critical device that keeps data flowing between networks and keeps the networks connected to the Internet.
Typically a LAN is connected to other networks (WANs, etc) via a router, used as a default gateway device.
To connect ( n ) LANs such that each LAN can directly communicate with any other LAN, you need ( \frac{n(n-1)}{2} ) point-to-point WANs. This is because each LAN requires a dedicated connection to every other LAN, and since communication is bidirectional, each pair of LANs is connected by one WAN link. Thus, the formula accounts for all unique pairs of LANs.
lans are more faster than wans
The Internet links LANs and WANs together.