A network consists of two or more connected computers that share resources. There are three main types of networks: local area networks (LANs), metropolitan area networks (MANs), and wide area networks (WANs). LANs are confined to a small area like a building or office. MANs cover larger areas like cities. WANs connect even larger geographic areas spanning hundreds or thousands of kilometers.