A computer network connects computers together to share resources like internet access or printers. The main goals are sharing resources across locations, high reliability through file replication, saving money by sharing devices, and providing security. There are several types of networks including personal area networks (PANs) for individuals, local area networks (LANs) within buildings, metropolitan area networks (MANs) within cities, and wide area networks (WANs) for long distance transmission across large areas. Network software manages different protocols and services efficiently, separating the control and data planes. Software-defined networking (SDN) uses a smart controller to direct traffic through routers and switches in the infrastructure layer, with network intelligence residing in a separate control layer.