A network allows computers to communicate and share resources. There are different types classified by geographical area: local area networks (LANs) cover a limited area with high speeds, metropolitan area networks (MANs) span a metropolitan area, and wide area networks (WANs) connect LANs and MANs over large distances like countries. Networks use various components to connect devices like cables, wireless technology, and layers in the OSI model to define the functions that allow communication.