Networks exist to enable computer users to do their work and communicate with others. Thus, networking is one of the primary functions of any operating system. There are various kinds of networks.
Most general consumers connect to the Internet through a home router and share that connection (and perhaps a printer or two) with other users on the network. A small, local area network (LAN) like this also enables users to share files and media, mostly to make the data available to everyone ...