Peer-to-Peer Network (P2P)
A peer-to-peer (P2P) network is a system in which computers, called nodes, connect and share data directly with each other instead of relying on a central server. Blockchains such as Bitcoin run on P2P networks.
In a P2P network, every participant can act as both client and server. Each node connects to a handful of others. When it receives new data, such as a transaction or a block, it checks the data against the rules and passes it on to its peers. This relaying is often called gossip, and it spreads information across the whole network quickly without any central coordinator.
This design is what makes a blockchain difficult to shut down or censor. When someone sends bitcoin, their wallet broadcasts the transaction to nearby nodes. Those nodes relay it until it reaches miners, where it waits in the mempool to be included in a block. Many independent nodes each keep a full copy of the ledger, so no single point of failure exists. File-sharing tools like BitTorrent and storage systems like IPFS use the same principle.
A common confusion is with "P2P trading," where people buy and sell crypto directly with each other through a marketplace. The two share the idea of cutting out the middleman, but they are different things. P2P also does not mean anonymous. Nodes that relay a transaction may see the IP address it came from unless privacy tools are used. Open networks can also be targeted by attackers who run many fake nodes, known as a Sybil attack. For this reason, protocols limit and diversify the connections each node makes.