A network consists of two or more connected computers that share resources like files, printers, and communication. Computers can be connected through cables, phone lines, wireless transmission, satellites, or infrared light. Depending on the geographic area covered, networks are classified as local area networks (LANs), metropolitan area networks (MANs), wide area networks (WANs), personal area networks (PANs), or campus area networks. A LAN connects computers within a building or home, while a MAN spans a city or large campus and a PAN connects devices within a few meters of an individual.