ARPANET was the first wide-area packet switching network developed in the late 1960s under the US Advanced Research Projects Agency (ARPA). It served as the basis for today's internet and initially linked computers located at Pentagon-funded research institutions over telephone lines. A computer network connects computers together to allow for sharing of resources like files, printers or internet access. There are several types of computer networks including local area networks (LANs), personal area networks (PANs), metropolitan area networks (MANs), and wide area networks (WANs). Key components of computer networks include hardware like network interface cards (NICs), cables, routers, switches and software.