A network connects two or more computers to share resources like printers, files, or allow communication. Common network types are local area networks (LANs) within a specific location like a home or office, and wide area networks (WANs) that connect multiple LANs over longer distances. Network hardware includes servers to store and share information, workstations for users, network cards to connect devices to the network, and switches, routers and firewalls to direct traffic and enhance security. Different types of cabling like unshielded twisted pair, fiber optic or wireless are used depending on the network's needs.