This could be explained via a simple web2 analogy. The public key is like your email ID. If anyone wishes to share data (or crypto) with you, you can share your public key with them. On the other hand, a private key is like your password. You use it to access the emails and decide which email goes out to whom. Public keys are meant for identification purposes, while private keys are used to sign transactions with your encryption key.