A computer network is a collection of interconnected devices, such as computers, smartphones, and other devices, that share data and resources. The network allows devices to communicate with each other, share files, and access shared services like printers or the internet.