Computer networks allow computers to be connected and share resources. There are several types of networks including local area networks (LANs), metropolitan area networks (MANs), and wide area networks (WANs). Networks can have different topologies like star, ring, bus, or hybrid and can be configured in a client-server, peer-to-peer, or hybrid model. Security is important for networks and involves measures like access control, encryption, firewalls, and monitoring to prevent unauthorized access or data breaches.