The function of network cards are to allow the computer connect to the internet, either through a wireless network card, which will directly connect to the router, or through a Ethernet network card, which connects directly to a router using an Ethernet cable. The card connects to one of the ports on the motherboard.