Peer to Peer (P2P) Know-how- The way it works: Ever questioned how P2P works? This…