A computer network allows connected devices to exchange and share data through connections. There are different types of computer networks including local area networks (LANs), metropolitan area networks (MANs), and wide area networks (WANs). A computer network requires hardware like network cards, cables, and connectivity devices to physically connect devices and allow communication using network protocols.