A network connects computers and allows sharing of resources and communication between users. It can be a LAN spanning a single building, a MAN connecting LANs in a city, or a global WAN like the Internet. Networks transmit data over various media like twisted pair cable, fiber, and wireless signals. Proper use of media and protocols allows networks to function according to the OSI model.