A network is a collection of computers and devices connected together so that data can be shared between them. Even a single computer can be considered part of a network when connected to the internet, as the internet itself is a network of networks. Computer networks typically connect devices physically using cables, or wirelessly, and use IP addresses to identify each other. Personal area networks connect devices close to an individual, like between a phone and laptop, while local area networks connect devices in a small area like a building. Metropolitan and wide area networks connect across larger distances.