A computer network connects multiple computers allowing them to communicate and share resources. It requires a minimum of two computers connected by cables or wirelessly with network interface cards. There are different types of networks including local area networks covering a small area like a building, metropolitan area networks spanning a city, and wide area networks covering larger distances like the internet. Networks can be configured in a peer-to-peer setup where computers act as equal partners or a client-server setup with dedicated server computers.