A computer network consists of two or more connected computers that can communicate and share resources such as files and peripherals. There are various types of networks, including peer-to-peer, client/server, and centralized, each with distinct features and security considerations. Different network topologies and cabling methods, along with transmission techniques, contribute to the overall architecture and efficiency of computer networks.