A computer network is a collection of interconnected devices, including computers, servers, and hardware, working together to share resources and communicate efficiently.