A peer-to-peer (P2P) network is a type of decentralized and distributed network architecture in which individual nodes in the network (called peers) act as both suppliers and consumers of resources, in contrast to the centralized client–server model where client nodes request access to resources provided by central servers.