A network connects computers and other devices through cables, wireless connections, or other means. It allows for sharing of resources and communication between devices. There are different types of networks including personal area networks (PANs) connecting devices within 10 meters, local area networks (LANs) within a building or campus, metropolitan area networks (MANs) within a city, and wide area networks (WANs) spanning countries or continents like the Internet. Network topology refers to the geometric layout, including linear bus, ring, and star configurations.