A computer network allows computers and other devices to communicate and share resources. It consists of hardware like network interface cards, hubs, switches, and cables that connect devices. It also includes software to facilitate communication between nodes on the network. Common network topologies include bus, ring, and star configurations that determine how devices are physically connected to each other through cables or wireless links.