A network connects devices like laptops, printers and servers so they can communicate. It can connect devices physically through cables or wirelessly. There are different types of networks including local area networks (LANs) that connect devices within a building, metropolitan area networks (MANs) that connect LANs within a city, and wide area networks (WANs) that extend over large geographical distances connecting multiple LANs. Personal area networks (PANs) connect devices within 10 meters of an individual. Networks provide advantages like shared devices and file access, but also have disadvantages such as upfront costs, management complexity, and security risks.