Computer networks are a collection of interconnected computing devices that can communicate and share resources with each other. They are essential for modern communication and data sharing, enabling everything from the internet to local area networks within offices.