A computer network connects two or more computers together to allow sharing of resources like files, printers and bandwidth. The main components of a network include computers, networking interface cards, connection medium like cables, and network operating system software. Common network types are LANs for local connections and WANs for wide area connections between locations. Protocols like TCP/IP are used to allow communication between different computers and networks. Ethernet is a common standard for LAN connections using cables like twisted pair or fiber optic.