The private key of the sender needs to match with the public address of the receiver. The sender of the wallet sends his digital assets to the receiver wallet address, who will spend those cryptos.