A computer network connects computers and devices together using communication devices and transmission media. It allows for sharing of resources like printers and files. There are different types of networks like local area networks (LANs), wide area networks (WANs), metropolitan area networks (MANs) and wireless networks. Networks can have a client-server or peer-to-peer architecture.